0
What is the fault in the loop for which the program isn't running? TIA for helping me out ïžđ
2 RĂ©ponses
0
The curly bracket in line 12 closes the while loop. So all of your if statements are not part of the loop, that's why the break statement causes an error message.
Line 24 closes the last elss statement. So put the bracket from line 12 after that.
0
break is only used in loops and switch statements... It doesn't work in conditional statements... It works if the conditional stmt is in a loop... That's the problem... Try to resolve it...