Question: Create a C program that will have the user enter a set of numbers. The program will then find the sum of the numbers entered,
Create a C program that will have the user enter a set of numbers. The program will then find the sum of the numbers entered, along with the largest and smallest number. The program will then display the numbers the user entered, the sum of the number, the largest number, and the smallest number.
Example:
Enter a set of numbers:
23
89
7
The set of numbered you entered are:
23 89 7
The sum of the numbers is 119
The smallest number is 7
The largest number is 89
Hint: Use a 1 dimensional array for this program.
The method to find the sum of the numbers, the smallest number, and the largest number, must be in its own function(s).
The user must be able to enter as many numbers as they want (up to a 100). You must find a way to have the user enter their preferred set of numbers and be able to stop when needed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
