Yes, it was meant to be a satire about using a while loop for user's who can't read.
After I wrote it, I realized it might not be seen as such, which is why it was removed.
Type: Posts; User: Adak
Yes, it was meant to be a satire about using a while loop for user's who can't read.
After I wrote it, I realized it might not be seen as such, which is why it was removed.
I didn't mean change the do while loop into a while only loop. I meant change the test at the bottom of the do while loop you already have there.
Use either while(temp > low); or while(temp >= low); You can't be sure that the interval will allow the temp to be exactly reached.