Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

input file is going to be name.dat Project 6 Feb. 19, 2021 (Use functions exclusively Write a C++ program that reads a students last name

image text in transcribed

input file is going to be name.dat
Project 6 Feb. 19, 2021 (Use functions exclusively Write a C++ program that reads a students last name and first name followed by 10 numeric grades [0 - 100] from a file. The number of records on the file is unknown, read and process cach 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: Sarn Houston 100 90 87 23 12 67 95 45 67 88 Mary Smith 30 20 90 90 90 90 88 34 100 34 Mark Henry 80 90 80 80 90 87 100 67 88 00 Eof ########GRADE REPORT######## First Name Letter Grade Sam C Mary A Mark B The student with the highest average is Mary Smith (99.99) The student with the lowest average is Sam Houston (99.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

More Books

Students also viewed these Databases questions