+ 1
somr one pls help me.
int main() { int num = 1; int number; int total = 0; while (num <= 5) { cin >> number; total += number; num++; } cout << total << endl; return 0; } i dont understand at all....
2 Answers
+ 1
if you dont understand that syntaxes you most read more.
but if you dont understand how a code work do those command in paper .
+ 1
nvm i figured it out but tnx anyway