0
How to display the input number using loop in c++?
5 Respuestas
0
c++
0
How do you mean, display the input number with a loop? Why not just print it out? Or am I missing something?
0
for example, you'll just have to input positive numbers. when you input a negative number, the loop will stop and the positive numbers you inputted will print.
0
panda kaye you will have to read them in as a string first to get the negative, and then convert it to an integer if you need