aboutsummaryrefslogtreecommitdiff
path: root/Homework 1/Homework__1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Homework 1/Homework__1.cpp')
-rw-r--r--Homework 1/Homework__1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Homework 1/Homework__1.cpp b/Homework 1/Homework__1.cpp
index cf710eb..5caf891 100644
--- a/Homework 1/Homework__1.cpp
+++ b/Homework 1/Homework__1.cpp
@@ -37,7 +37,7 @@ int main()
int my_sum = a + b + c;
int my_product = a * b* c;
- cout << "The sum of all three variables is: " << my_sum << " and the multiplied value of all three variables is: " << a * b * c << endl;
+ cout << "The sum of all three variables is: " << my_sum << " and the multiplied value of all three variables is: " << my_product << endl;
cout << "The difference between the sum and const is: " << my_sum - K << endl;
cout << "The difference between the mult and const is: " << my_product - K << endl;