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 01:40
When the pc version of the spreadsheet program became available, the ibm pc quickly became the top-selling personal computer?
Answers: 3
question
Computers and Technology, 22.06.2019 10:40
When running anti-virus software , what could be a reason where recipitent is not guaranteed that data being streamed will not get interrupted?
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: river’2008.print.
Answers: 3
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
English, 24.01.2021 18:00
Questions on the website: 13722363