Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

I am stuck on this question, I had originally had the user enter values and store them in an array which then averages them, but then when I got to...

I am stuck on this question, I had originally had the user enter values and store them in an array which then averages them, but then when I got to average them I think that makes them a second array. What should I be doing here?

1. Use one array

2. Prototype, implement and use the function -- float computeAverageFromArray( float grades[], int lengthOfArray)

     *Hint this function should use a for loop to add all of the elements from grades[] and then divide by lengthOfArray

3. Prototype, implement and use the function -- char getLetterGradeFromAverage( float average )

     *Hint this function probably uses a bunch of if statements...

4. Use a for loop to collect the scores from the user

Here is an example of the expected output:

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question