For (a=6, b=4; a<=24; a=a+6) if(a ·/· b a == 0)
break;
System.out.println(a);
a)Give the output of the above program segment
b)Mention the number of times the loop is executed
Share
For (a=6, b=4; a<=24; a=a+6) if(a ·/· b a == 0)
break;
System.out.println(a);
a)Give the output of the above program segment
b)Mention the number of times the loop is executed
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies