All Questions
1 question
0
votes
1
answer
538
views
do while loop not looping
I am having a problem with my do while loop.
do
{
//this thing
}
while (n < 0 && n > 23);
when I run it every time I enter a number ether valid or invalid it ends my program.