Question: Java In java Question 5) SWITCH/CASE 2 - Complete the pseudocode below by including a SWITCH statement that takes the user input (an integer between

Java

In java Question 5) SWITCH/CASE 2 - Complete the pseudocode below by including a SWITCH statement that takes the user input (an integer between 1-5) and prints out a count up in its English equivalent. For example: if the user inputs 1, the code will print one, two on the next line, and so on up to five. If the user inputs 5, the code will print five and finish. (20 points)

CREATE inputNum

PRINT ("Please enter a number between 1-5 to start counting from:")

READ inputNum

WHILE inputNum >= 1 AND inputNum <= 5

BEGIN WHILE

YOUR CODE GOES HERE

END WHILE

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!