Computer Science, asked by roshnisahajeena2003, 10 months ago

What is the output and how many times the loop will excuted?
int a,b;
for(a=6,b=4;a<=24;a=a+6)
{
if(a%b==0)
break;
}
System.out.println(a);

Answers

Answered by adityanandi55082
4

Answer:

1 time loop will be executed

a=12

Answered by shubham9258
4

Explanation:

1 time will excute answer is 12

Attachments:
Similar questions