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
2
Answer:
Output of the program will be :
5
10
15
20
Similar questions
Science,
3 months ago
Social Sciences,
3 months ago
Physics,
3 months ago
Hindi,
6 months ago
Math,
10 months ago
Social Sciences,
10 months ago
Physics,
10 months ago