0
Como ejecutar mi codigo?
hello friends I need help I am stuck in a code that consists of typing a number> = 0 and showing it by console if the number is <0 the loop must be repeated. https://code.sololearn.com/cALaVFednia5/?ref=app
7 Respostas
+ 1
Yes as you used do while loop it is repeated. Any thing else you are expecting?
0
" if the number is num < 0 the loop must be repeated."
your code:
} while (num >= 0);
0
what I want is that if the user types a number <0 for example -1 this will make the loop repeat itself until a number> 0 resigns
0
I think so that type of facility is nor there in sololearn
0
So I better do it on the computer?
0
OK 👍 thanks my friend
0
My pleasure. Eclipse will be better for this. I think so