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
1
Explanation:
Following loops will execute 3 times. Loop 1 is Entry control loop and Loop 2 is Exit control loop.
Similar questions
Math,
14 hours ago
English,
14 hours ago
Environmental Sciences,
1 day ago
Math,
8 months ago
English,
8 months ago