AMU 2026 — Computer PYQ
AMU | Computer | 2026What will be the output of the following program?
public class Test {
public static void main(String[] args) {
int count = 1;
while (count <= 15) {
System.out.println(count % 2 == 1 ? "AMU" : "MCA");
++count;
} // end while
} // end main
}
