Starting from the class average project, modify that program to determine the median grade along with the average and the highest and lowest grades. The median grade is the grade that is in the middle of the grade distribution. example: five grades of 67, 78, 83, 92, 97 would have a highest of 97, a lowest of 67, and average of 83.4 and a median grade of 83 (the grade in the middle position). In order to determine the median grade, you will need to store the input grades in an array (assume that there will not be more than 100 grades entered), then sort that array into ascending order, then find the midpoint to determine what the median grade is for the class.
As with the original problem, the number of grades is unknown. test scores should be entered until a score of -1 is entered. The highest and lowest scores can be determines as the data is entered, but the average and the median must be calculated after all the data is in.
The data entry should be a function, the calculation of the median grade should be a function, the output should be a function. What you do with the rest will be up to you to decide. The functions must be in separate files, appropriately named.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more