How do i creat a code in C++ that accepts integers from the user, stops when the user types a negative number or zero. Then adds | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do i creat a code in C++ that accepts integers from the user, stops when the user types a negative number or zero. Then adds

C++ https://www.sololearn.com/discuss/882629/?ref=app

26th Nov 2017, 7:41 PM
Charles Konney
Charles Konney - avatar
2 Answers
0
do{ (ask input) }while(input!=negative || input!=zero) plus, please don't write questions on the title section
26th Nov 2017, 8:03 PM
Dmitrii
Dmitrii - avatar
0
Ok Thanks
26th Nov 2017, 8:39 PM
Charles Konney
Charles Konney - avatar