“While”statement relates to the cycle statements with a precondition. If the precondition
is true the code in the brackets { } will be executed, otherwise – the code
will be missed.
A= 10;while(A<10) à 10 < 10 -- false, so the loop wouldn’t be executed{PRINT"HI";} Right answer is: D – 0 times.
Comments