0
could someone explain me this
int num = 1; int number; int total = 0; while (num <= 5) { cin >> number; total += number; num++; } cout << total << endl; What is the answer?
3 Réponses
+ 4
It will taking the user input five times and sum it
0
could you pls explain it better with numbers