What will be the output of the following program code when the input value
of the variable ch is [2]
(i) 'A' (ii) ' f '
switch(ch)
{
case 'A': System.out.print("Grade A");
case 'B': System.out.print("Grade B");
case 'C': System.out.print("Grade C"); break;
case 'D': System.out.print("Grade D");
default: System.out.print("Grade F");
}
Answers
Answered by
0
Answer:
??????_??_?_??_?_?_?_??£?_?£??_?_?_?_?£??£
Answered by
1
Answer:
¡ Grade AGrade BGrade C
¡¡ Grade F
Similar questions