Computer Science, asked by manya6339, 1 day ago

How many times the following loop will execute ?

int x=2,y=50;

do

{

++X;

Y-=x++;

System.out.println(y): }while(x<= 10);​

Answers

Answered by nikhil4314
1

Explanation:

Following loops will execute 3 times. Loop 1 is Entry control loop and Loop 2 is Exit control loop.

Similar questions