Computers and Technology

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()).

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 13:30, Gearyjames8
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
image
Computers and Technology, 24.06.2019 18:00, bloop3r
Why is a multiview sketch drawinf different from other sketches like isometric, two point, and oblique
Answers: 1
image
Computers and Technology, 25.06.2019 04:40, hazeleyes2006
Ineed ! i need a computer whiz to me complete my study guide on computers, it's 50 questions. if anyone can me i'll be greatly appreciated.
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, india73
When date is processed into a meaningful form, i becomes
Answers: 1
Do you know the correct answer?
Write a program with array and functions to work on a student's test scores. This program has the fo...

Questions in other subjects: