# Computer Programing & Logic Design

posted by .

Submit pseudocode and a flowchart for the following programming exercise:

Largest and Smallest

Design a program with a loop that lets the user enter a series of numbers. Theuser should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered.

• Computer Programing & Logic Design -

I'll give you a skeleton. Fill in the meat and post what you have.

int max=-99, min=-99, num;
do
input num
if num==-99 then exit loop endif
if max=-99 then ..... endif
if num>max then ..... endif
if num<min then ..... endif
loop
Display max, min.

## Similar Questions

1. ### Computer Programing & Logic Design

Submit pseudocode and a flowchart for the following programming exercise: Software Sales A software company sells a package that retails for \$99. Quantity discounts are given according to the following table: Quantity Discount 10-19 …
2. ### Computer Programing & Logic Design

Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the average …
3. ### Computer Programing & Logic Design

Submit pseudocode and a flowchart for the following programming exercise: Largest and Smallest Design a program with a loop that lets the user enter a series of numbers. Theuser should enter -99 to signal the end of the series. After …
4. ### computer programming

Design a program that asks the user to enter a nonegative integer and then display the factorial of that number- it can be a flowchart or pseucode
5. ### Programming logic and design

Design a program that lets the user enter the total rainfall for each 12 months into an array. The program should calculate and display the total rainfall for the year the average monthly rainfall, and the month with the highest and …
6. ### programming

Step 1: Design a flowchart or write pseudocode for a program that allows a user to enter 12 numbers, then displays all of the numbers (in the order they were entered) as well as the largest number and the smallest number. Step 2: Implement …
7. ### Programing Logic and design

Design a program that asks the user to enter a store's sales for each day of the week. The amounts should be stored in an one dimensional array. use loop to calculate the total sales for the week and display the results. (In Pseudocode)
8. ### Program Design and Development

Design a Visual Logic flowchart for a program that prompts the user to enter ten numbers one at a time. After the user has entered all ten number the program will then print out the total of those ten number and quit?
9. ### computer programming

Design the pseudocode for a program that allows a user to enter 10 numbers, then displays them in the reverse order of their entry
10. ### computer programming

Design the logic for a program that allows a user to enter 10 numbers, then displays each and its difference from the numeric average of the numbers

More Similar Questions