summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Hello World/Hello World/Program.cpp26
1 files changed, 22 insertions, 4 deletions
diff --git a/Hello World/Hello World/Program.cpp b/Hello World/Hello World/Program.cpp
index 1b791e2..34032d1 100644
--- a/Hello World/Hello World/Program.cpp
+++ b/Hello World/Hello World/Program.cpp
@@ -17,10 +17,28 @@ int main()
int k;
int l;
- const int PORT = 1024;
-
- cout << "Enter a value";
+ const int m = 1024;
+ cout << "Enter number #1: ";
+
cin >> j;
- return 0;
+
+ cout << "Enter number #2: " << j << endl;
+
+ cin >> k;
+
+ cout << "Enter number #3: " << k << endl;
+
+ cin >> l;
+
+ cout << "The sum of all three variable is" << k + j + l << endl;
+
+ cout << "The three variables multiplied equal" << k * j * l << endl;
+
+
+
+
+
+
+ return 0;
} \ No newline at end of file