Rewrite the following using if-else: Switch(ch) { Case 'U': Case 'u': Syst.out.println("UPPERBERTH"); break; Case 'M': Case 'M': System out.println("MIDDLE BERTH"); break;
Answers
Answered by
0
Hope this helps you <3
Attachments:
Similar questions