(h) Convert the following if else if construct into switch case: [2]
if (ch== 'c' ch=='C')
System.out.print("COMPUTER");
else if (ch== 'h' || ch=='H')
System.out.print("HINDI");
else
System.out.print("PHYSICAL EDUCATION");
Answers
Answered by
2
Answer:
hi guys how are you
Explanation:
(h) Convert the following if else if construct into switch case: [2]
if (ch== 'c' ch=='C')
System.out.print("COMPUTER");
else if (ch== 'h' || ch=='H')
System.out.print("HINDI");
else
System.out.print("PHYSICAL EDUCATION");
please give me answer Don't know
Similar questions