From c9084c1f77d643aeb0c07719325a9254404dcbd7 Mon Sep 17 00:00:00 2001 From: Asahel Date: Mon, 22 Jan 2024 18:00:17 -0800 Subject: Finished half of the homework --- Hello World/Hello World/Program.cpp | 26 ++++++++++++++++++++++---- 1 file 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 -- cgit v1.2.3