- Home
- Output Questions for Class 10 ICSE Computer Applications
Give the output of the following program segment and also
Output Questions for Class 10 ICSE Computer Applications
Give the output of the following program segment and also mention the number of times the loop is executed.
int a,b;
for(a=6;b=4; a <= 4; a=a+ 6)
{
if(a%b==0)
break;
}
System.out.println(a);