first the condition will be checked after the count is initialized to 1, at first iteration itself the condition will be false,so print statement won’t get executed, but in do while first body will be executed, so it executes print statement. ...
Check stmt first checks the condition. If its true it continues with the next statement in the loop. If its false then it skips the remaining statements if any in the loop and goes to the next iteration of the loop.Unlike check continue does not have any condition. When a continue stmt ...