0
When I input an integer and it continues output that number.I don't know why.Anybody helps me!!!
2 Antworten
+ 8
Shirt
Don't know what exactly you're trying to do but..
If I input 2 101 it doesn't continuously output number )
Actually your while loop returns false only if q is greater than 100.
So when you give any value of q which is less then 100 the loop executes infinitely.
0
oops I just input with 1,101 and it loops
But when I use 1 101 it doesn't loop .
I may know why:P