Computer science

computer science

Description

Your Instructor asks you to write a program that computes the letter grade for a

student taking their course.    The professor assigns up to 10 assignments and

drops the lowest test score.


Write functions that do the following:

 A function called getTestScores that has two parameters: an array of

doubles containing the test scores and an integer that says how many

tests were assigned.    This function needs to a have a void return type

and should loop through the array asking the user to enter each test score.

 A function called findLowestIndex that has two parameters: an array of

doubles containing the test scores and an integer that says how many

tests were assigned.   This function should return an integer containing the

index of the lowest test score in the array.


A function called computeAverage that has two parameters: an array of

doubles containing the test scores and an integer that says how many tests were

assigned.   This function should loop through the array to compute an average

and return this double to the calling function.


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.