I am reading the slides for the Section 1 (2014) which I downloaded from here. (I cannot view the video because of less bandwidth). I am on this page (28):
The condition given in the code is that we can exit the loop iff
input >= 1
but the prompt for input says
"Enter a positive number: "
So should the condition at end of the loop not be
while (input<0) or the text be
"Enter a number greater than or equal to 1?"
Have I missed something?