0
Accumulator loops ???
Say I added two numbers and it gave me the total... What if I want to give the user the option to add more numbers to the to previous total? How can I put that in a loop? To keep asking if they want to add more? How can I make a loop pause to ask the user if they want to continue adding different numbers?
2 ответов
+ 3
//After every sum operations put input from user
0
For example see this post...
He tried, got it finally.. You just need adding to is printing like after or before taking input...
cout<<"enter values; to stop enter =" ; //for that example...
https://www.sololearn.com/Discuss/2157305/?ref=app