Computer Science, asked by darkrisegaming123, 9 days ago

h)switch (ch) {
case 'c':
case'C':
System.out.print("COMPUTER");
case'h':
case 'H':
System.out.print("HINDI");
break;
default:
System.out.print("PHYSICAL EDUCATION ");
From the above snippet,predict the output (Give reason)
when the value of ch: i) c or C ii) g or G​

Answers

Answered by yoooo36
0

Answer:

c or C will give answer COMPUTER and g or G will give answer PHYSICAL EDUCATION

Similar questions