I need to make a Program that will ask the user to enter the number of values that will be entered and then read it in. After that, the user is prompted for a value and fiven the oppurtunity to enter a value n times (where n is the number of values to be entered by the user).
After all n values are entered, i need to make it print the average of the numbers as well as the large and small number.
I KNOW how to average the numbers but i dont know how to get the program to only allow you to enter a certain number of numbers and i dont know what to do to get it to print the large and smallest numbers! PLEASE HELP!
After all n values are entered, i need to make it print the average of the numbers as well as the large and small number.
I KNOW how to average the numbers but i dont know how to get the program to only allow you to enter a certain number of numbers and i dont know what to do to get it to print the large and smallest numbers! PLEASE HELP!