Computer Science, asked by krish8445, 7 months ago

Give the output of the following program segment

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 riya43150
2

Answer:

Output of the program will be :

5

10

15

20

Similar questions