Computer Science, asked by rachelyana465, 8 months ago

a) Analyze the given program segment and answer the following questions.
i) Write the output of program segment.
How many times does the body of loop get executed?
for int m=5; m<=0; m+=5)
{ if(m%3==0;
Break;
else
if(m%5==0)
System.out.println(m);
Continue;
}​

Answers

Answered by anshukumari3118
1

Answer:

1) output

5

10

2)3times

Similar questions