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
0
write ur Question properly.....
Similar questions
Math,
4 months ago
Science,
4 months ago
French,
4 months ago
Computer Science,
9 months ago
Accountancy,
9 months ago
Math,
1 year ago