Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE STANDARD C++ FUNCTIONS NOTHING THATS ON CHEGG Write a C++ program that roads a students last name and first name followed by an unknown

USE STANDARD C++ FUNCTIONS NOTHING THATS ON CHEGG image text in transcribed
Write a C++ program that roads a students last name and first name followed by an unknown number of numeric grades (0 - 100 in a fie. The grade of -1 marks the end of the ist of grades. The number of records on the file is unknown, road and process each record until end of file is encountered. Compute the average of each student's grades after dropping the lowest grade (round average to the nearest integer before assigning letter grade. Also compute and print the first name and last name of the student with the highest average and the lowest average Assign letter grades using the scale below A 91 - 100 B 80-90 C 70-79 D 60-69 FO-59 Input format: Sam Houston 100 90 87 23 12 67 95 45 67 88 34-1 Mary Smith 30 20 90 90 90 90 84 34 100 34 34 9898 390-1 Mark Henry 80 90 80 80 90 87 100 67 88 00 45 98 78-1 Eol WWW.GRADE REPORT First Name Letter Grade Sam Average 712 91.8 Mary A Mark B 88.0 NDRO 87.2 Class average B The student with the highest average is Mary Smit 199.99) The student with the lowest average is Sam Houston 199.99)

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

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students also viewed these Databases questions