Computer Science, asked by santoshstar, 9 months ago

Find the output of the following code and also write how many times the loop will be executed? for(int m=5;m<=20;m+=5) { if(m%3==0) break; else if(m%5==0) System.out.println(m); continue; }​

Answers

Answered by kondrugamer2005
5

Answer:

Output will be 10,15,20

m

m

m

The loop will be executed 3 times

Hope it helps...

Mark me brainliest.

Similar questions