From 4e697ae42987de0380caa067c8da12ac1cf2fd89 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 17 Oct 2023 09:58:14 +0200 Subject: [PATCH] Created the solution_2.cpp --- units/2023_10_17/solution_2.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 units/2023_10_17/solution_2.cpp diff --git a/units/2023_10_17/solution_2.cpp b/units/2023_10_17/solution_2.cpp new file mode 100644 index 0000000..9e27654 --- /dev/null +++ b/units/2023_10_17/solution_2.cpp @@ -0,0 +1,15 @@ +#include + +using namespace std; + +int main() { + int x, y; + cout << "Bitte einen Wert eingeben: "; + cin >> x; + + cout << "Bitte noch einen Wert eingeben: "; + cin >> y; + + cout << "Der erste eingegebene Wert betraegt " << x << "!" << endl; + cout << "Der zweite eingegebene Wert betraegt " << y << "!" << endl; +} \ No newline at end of file