+ 1
while loop statement
if the condition is false we cant use while loop statement so what can we use
1 Odpowiedź
+ 2
You can use while(!condition). In this case, the loop will break as soon as the condition is true
if the condition is false we cant use while loop statement so what can we use