i want to use do..while loop to write a program about n positive number and the program will terminate when there were negetive | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

i want to use do..while loop to write a program about n positive number and the program will terminate when there were negetive

give me some idea or some coding using c++

24th Jan 2017, 10:56 AM
nsazw
nsazw - avatar
1 Resposta
+ 1
do { \\code }while (num>=0) if (num <0){ \\Some other code }
24th Jan 2017, 11:31 AM
Aaron
Aaron - avatar