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:- TGS01268121

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)