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
Math,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Hindi,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago
Physics,
1 year ago