Computer Science, asked by amoghvlogs346, 9 months ago

dis
12) What will be the output of the following program?
er
public class Test{
arlian
Parliams
public static void main(String[] args) {
on
int count = 1;
m
while (count <= 15) {
System.out.println(count%2 == 1 ? "***".'+++++");
after the
rected?
ers
em
++count;
}
// end while
na
// end main
}
he
anh
a. 15 times ***
b. 15 times +++++
sident a
Cabha?
elected
mber
c. 8 times *** and 7 times +++++
d. Both will print only once
Cannot
of​

Answers

Answered by Anonymous
0

write ur Question properly.....

Similar questions