0
Please i need someone to tell me hw to make it work ,that's the missing link,
#include <iostream> Using namespace std; Int main () { Int x = 1; int number; Int total = 0; while (x <=5){ cin>>number; ____= total + number; x++; } cout <<"sum:"<<total <<endl; return 0; }
2 Réponses
+ 1
total = total + number
0
Thanks alot, the number is stored under total