Computer Science, asked by MunchieMadness2429, 1 month ago

public class MyClass {
public static void main(String args[]) {
int a, b=4;
for(a=6;a<=4;a=a+6){
if(a%b==0)
break;
} System.out.println(a);
}
}

Answers

Answered by kajalpal1975
0

Answer:

6

Explanation:

b = 4

a = 6

a<= 4 → 6 <= 4 is false

So, loop does not run

a is printed

Output

6

Similar questions