Question: Make a program called NumDisplay.java that prompts the user enter a number between 0 and 9 and then display the corresponding word (i.e. zero for

Make a program called NumDisplay.java that prompts the user enter a number between 0 and 9 and then display the corresponding word (i.e. "zero" for 0, "one" for 1, etc.). Use a switch statement to do this. Include a default case that lets the user know they entered a wrong number.

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!