Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that reads a list of test and quizzes scores. The first three numbers are for quiz1,2, & 3 respectively. The last three

image text in transcribed
Write a program that reads a list of test and quizzes scores. The first three numbers are for quiz1,2, & 3 respectively. The last three are for test1, 2, & 3 respectively. The final score is based on the following criteria: quizzes are 40% of the final grade, and tests are 60%. Requirements 1. Create a function called AvgCalc that accepts 6 parameters (passed by reference) then return their average (type double) Create another function called Display that accepts 1 parameter (average) passed by reference, then display the final average and the letter grade based on the following criteria: 2. a. Average between 90- 100 letter grade A b. Average between 80 89 letter grade B c. Average between 70- 79 -letter grade C d. Average between 60 69 letter grade D e. Average below 60 letter grade 3. Display all grades, their average, and the letter grade for each student on the screen, then send the same information to Output file Sample File InputFile: (every number is separated by a space) 78 99 78 100 76 88 100 100 100 96 85 75 100 85 96 96 56 45 85 80 75 98 85 75 100 85 88 96 85 75 80 50 60 75 60 50 55 75 70 85 60 75 75 Output should look similar to this Quiz 1 Quiz2 Quiz3 Test1 Test2 Test3 Average 78 99 78 100 76 8886.8 Letter Grade Output File should look like this 78 99 78 100 76 88 86.8 B

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

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

18. If you have power, then people will dislike and fear you.

Answered: 1 week ago