Question: Write a program in Java that prompts the user to enter one of two shoe sizes ( 4 0 or 4 5 ) . If

Write a program in Java that prompts the user to enter one of two shoe sizes (40 or 45). If the user enters 40, the program should display Regular on the screen. If the user enters 45, the program should display Large on the screen. If the user enters any other number, the program should display Wrong size.Use a switch statement to write this program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!