Page 1 of 1

int number = 6; int total = 100; while (number > 0) { } What is the output of the following code? 18 number -= 3; total

Posted: Fri Jul 01, 2022 5:46 am
by answerhappygod
Int Number 6 Int Total 100 While Number 0 What Is The Output Of The Following Code 18 Number 3 Total 1
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 18 times
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