Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions