Computer Science, asked by swagatakarar, 1 month ago

) for (i = 0; i<10;i++)
{
if(i==5)
break;
System.out.println(i);
}​

Answers

Answered by Archita744
0

Answer:

The output is : 0,1,2,3,4

Explanation:

The loop runs until the value of i is 5 when the value of i is 5 the loop breaks and it leaves the loop and continuous the rest of the program.

Similar questions