- Int Number 6 Int Total 100 While Number 0 What Is The Output Of The Following Code 18 Number 3 Total 1 (23.12 KiB) Viewed 17 times
int number = 6; int total = 100; while (number > 0) { } What is the output of the following code? 18 number -= 3; total
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
int number = 6; int total = 100; while (number > 0) { } What is the output of the following code? 18 number -= 3; total
int number = 6; int total = 100; while (number > 0) { } What is the output of the following code? 18 number -= 3; total -= number; cout << total; I