Question: a. Design the logic for a program that allows a user to enter 20 numbers, then displays all of the numbers, the largest number, and

a. Design the logic for a program that allows a user to enter 20 numbers, then displays all of the numbers, the largest number, and the smallest.

b. Modify the program in Exercise 3a so that the user can enter any amount of numbers up to 20 until a sentinel value is entered.

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Flowchart Pseudocode start Declarations num index num largest num smallest num SIZE 20 num numbers... View full answer

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 Programming Logic & Design Questions!