Let's See who can create this program.

My friend an I are having trouble trying to create this program.It's our first year taking a C++ class and our book isn't helping us at all with the program. If anyone can help us that'd be great. :D
Here's the program:


Write a program that takes 10 grades entered from the user and determines which is the lowest, highest and average grade from the list.

Your program will use an array of size 10 (float) and 3 functions will determine which is the lowest, highest and average scores
getLowest();
getHighest();
getAverage();
Output the results to the user once determined.
Since it's only 10 grades " so you already know how many variables " why not declaring these 10 variables and then compare it by using if else ? , the average is easy to determine.
@Cutefriendzoned
No, don't do that. Using ten variables will take an easy task and make it hard. Use an array.

@Klyndro
Almost everyone here can create this program -- it is a very basic exercise that you should be able to complete. Give it a try.
Topic archived. No new replies allowed.