diff options
| author | Nataliia Brown <[email protected]> | 2024-01-17 15:04:26 -0800 |
|---|---|---|
| committer | Nataliia Brown <[email protected]> | 2024-01-17 15:04:26 -0800 |
| commit | ef8d43b9cc7c4a5ef32d0f775e95a64c8700edd1 (patch) | |
| tree | c1bbfcb679f16ee157d98d8fccda4aca9d8ba740 | |
| parent | Final commit (diff) | |
| download | hello-world-natabrown-ef8d43b9cc7c4a5ef32d0f775e95a64c8700edd1.tar.xz hello-world-natabrown-ef8d43b9cc7c4a5ef32d0f775e95a64c8700edd1.zip | |
| -rw-r--r-- | Homework 1/Homework__1.cpp | 2 |
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; |