Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5 (1 point) Question 5) SWITCH/CASE 2 - Complete the pseudocode below by including a SWITCH statement that takes the user input (an integer

Question 5 (1 point)

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 with AI-Powered 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

Students also viewed these Databases questions