subject

Write a program with array and functions to work on a student's test scores. This program has the following functions.
1. getTests() function allows user to enter 4 test scores of a student (decimal point values). Pass array declared in main.
2. toTotalTest() sums 4 tests and return the totalTest. Pass array to this function.
3.getAverage() computes the average of 4 tests and return average. Pass total to this function.
4. getHighest funds the highest test score of the 4 and returns highest. Pass array to this function.
5. getLowest() finds the smallest test score of the 4 and return lowest. Pass array to this function.
6. report() function will report the total score, average score, highest score and lowest score. This function does not return any value. You need to pass all the necessary information to this function or call other necessary functions in this function (instead of calling them in main()).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Corey set up his presentation for delivery to his team.the information he had to convey was critical to their job performance.he knew he would need a lot of time to explain each point
Answers: 3
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
question
Computers and Technology, 24.06.2019 08:20
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior to sending the first ping request
Answers: 1
You know the right answer?
Write a program with array and functions to work on a student's test scores. This program has the fo...
Questions
question
History, 22.03.2020 04:31
question
Computers and Technology, 22.03.2020 04:32