Title: Assignment 3
Course: COP 1510 Programming Concepts > Section: Module 4 - Repetition Structures

For your module 4 assignment, you will again design and write a program following the specification that is given below. Design your program using a flowchart and pseudocode. Submit your final flowchart and pseudocode design in the dropbox.

Largest and Smallest

Design a program with a loop that lets the user enter a series of numbers. The user 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 values that were entered.

HINT: make sure you do not include -99 as the largest or smallest number.

Example Output:

Enter a number or -99 when you are done
10 [Enter]
Enter a number or -99 when you are done
6 [Enter]
Enter a number or -99 when you are done
25 [Enter]
Enter a number or -99 when you are done
-99 [Enter]
The largest number was 25 and the smallest number was 6