Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that randomly generates 20 test scores, between 50 - 100, and store them into an array Include two overloaded functions with the

image text in transcribed

Write a program that randomly generates 20 test scores, between 50 - 100, and store them into an array Include two overloaded functions with the following headers and requirements: a. Headers: double sum(const double TestScores[], int ArraySize, int & IndexHighestScore, int & IndexLowestScore) int sum(const int TestScores[]. int ArraySize, int & IndexHighestScore, int & IndexLowestScore) b. Requirements: - Reject outlets the highest and the lowset score are omitted. Therefore, ibkt 18 scores are to be sum and be used in finding the average score. - Tese functions will retain of the indices (pass by reference) of the highest and lowest scores in the array. Include two overloaded functions that return a letter grade of a score with the following headers and requirements: a. Header char LetterGrade(int testScore) char LetterGare(double testScore) b. requirements: Determine and return the letter grade baso on the test score(pass by value) following: testScore > = 90, LetterGrade is 'A' testScore > = 80 and = 70 and = 60 and

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions