The last line "while (number >0 && number < 4); confuses me. Why it's not "while (number > 0 && number < 5);"? Can someone help to explain? Thank you!
I don't understand the last line of the answer
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
NaN
9 June 2024, 16:30
It is all because if number == 5 then it will display the string 5 times.
Try to do it...
0