Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with C++ visual studio, please ... I have the sample run in the second pic e Chegg Study | Guided Sc /

I need help with C++ visual studio, please ... I have the sample run in the second pic

image text in transcribedimage text in transcribed

e Chegg Study | Guided Sc / D Assignment 3 . Grade B x e Solved: Grade BookA ter x 5833 unread) . cudong: x file:///C/Users/Weed%20Dinosaur/Downloads/Assignment%203%20-%20Grade%20Book.pdf Downloads c Log In to Cavas bd bluedoorlabs MyEagle c Contact us - HoustonProduction Possibiliti Graphing logarithmic Q cChapter0, C Creating a zip file anc Calculus 2 Lecture 6 Assignment 3- Grade Book.pdf A teacher has five students who have each taken four tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her four test scores: Test Score Letter Grade 90-100 80-89 70-79 60-69 0-59 Write a C++ program that uses a string array to hold the five students' names an array of five characters to hold the five students' letter grades, and five arrays of four doubles each to hold each student's set of test scores. You may find using a single 5x4 multi-dimensional array easier to manage the test scores instead of a separate array for each set of test scores The program should have functions that return a specific student's name, the avcrage test score (with the lowest grade dropped), and a letter grade based on the average. Although avcrages are often floating-point values, you should cast the average test score to an integer when comparing with the grading scale. This reduces the possibility of error. Demonstrate the class in a program/separate class that reads from a file each student's name and his or her four test scores (text or CSV file). It should then display two parts: average score for each test then each student's average test score and letter grade Input Validation: Do not accept test scores less than zero or greater than 100. SAMPLE RUN #3: GradeBook Assume there is a CSV called STUDENTS GRADE.CSV with the following content: Name, test l score, test 2 score, test 3 score, test 4 score Louis Bleriot, 80,80, 80, 80 Howard Hughes, 45, 66, 24, 64 Amelia Earhart, 87,75, 66,74 Charles Lindbergh, 66, 65,62, 62 Manfred von Richtofen, 97, 98,99,100 The GradeBook output should display: T:15 PM OType here to search 11/30/2017

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

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

List and describe the three functions of money.

Answered: 1 week ago