Please i need someone to tell me hw to make it work ,that's the missing link, | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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; }

24th Jul 2019, 9:22 AM
Abbah(STORM🏹)
Abbah(STORM🏹) - avatar
2 ответов
+ 1
total = total + number
24th Jul 2019, 9:44 AM
Agent_I
Agent_I - avatar
0
Thanks alot, the number is stored under total
24th Jul 2019, 10:29 AM
Abbah(STORM🏹)
Abbah(STORM🏹) - avatar