Computer Science, asked by sunissuni1989, 6 months ago

Write the output of the following.

int m=5,n=10;
while(n>=1)
{
System. out. println(m*n);
n--;
}




Urgent.
pls send me the answer ​

Answers

Answered by DARKNIGHTKING
7

Answer:

(a) Analyze the segment and find how many times the loop will be executed and what will be the output?

int p=200;

while(true)

{

if(p<100)

break;

p=p-20;

}

System.out.println(p); [2]

Similar questions