Write a java program to accept a day number from the user


Write a Java program to accept a day number from the user and display the corresponding day name by using the if/else construct.

Rewrite the program using the switch case construct.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a java program to accept a day number from the user
Reference No:- TGS01525058

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)