Question: **Write the pseudo code in modules for the following questions:- Q1) Design the logic of a program that allows a user to enter 12 numbers,

**Write the pseudo code in modules for the following questions:-

Q1) Design the logic of a program that allows a user to enter 12 numbers, then displays them in reverse order. Use arrays to store numbers. (50POINTS)

Q2) Design the logic of a program that allows a user to enter 12 numbers then displays the largest number. Use arrays to store numbers. (50 POINTS)

Below is the psuedo code I have so far. I believe I got the GetInput() module correct but am concerned with the Display() module. Any help is appreciated for either module, let me know if you see anything wrong, thanks.

Start

Declerations

Num userInput[12] = 0,0,0,0,0,0,0,0,0,0,0,0

Getinput()

Display()

Stop

Getinput()

Num count = 0

While (count<=11)

Output Enter 12 numbers of your choice:

Input userInput[count]

count =count +1

End while

return

Display()

Import userInput

Output Numbers entered are displayed in reverse order below:

userInput.reverse()

Output userInput

Output Largest number displayed below:

Output max(userInput)

return

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!