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++
1 Odpowiedź
+ 1
do {
\\code
}while (num>=0)
if (num <0){
\\Some other code
}