Find output 3:
int s=0;
int i=5;
while(i++<=10)
{
s+=i;
if(i%2==0)
{
continue;
}
if(i%3==0)
{
break;
}
i++;
}
System.out.println("Sum="+s);
NO SPAM
Answers
Answered by
0
Explanation:
Find output 3:
int s=0;
int i=5;
while(i++<=10)
{
s+=i;
if(i%2==0)
{
continue;
}
if(i%3==0)
{
break;
}
i++;
}
System.out.println("Sum="+s);
NO SPAM
Similar questions
Science,
3 months ago
English,
3 months ago
Physics,
7 months ago
Computer Science,
7 months ago
Business Studies,
11 months ago
Biology,
11 months ago