Reweite the following set of if-else statements in terms of switch-case statement:
if (code == ‘A’)
System.out.print ln (“Accountant”);
else
if (code == ‘C’ ll code == ‘G’)
System.out.print ln (“Grade IV”);
else
if (code == ‘F’)
System.out.print ln (“Financial Advisor”);
Answers
Answered by
0
Answer:
and down the possible outcomes of the possible outcomes of the possible outcomes of the
Similar questions