Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ You are to write a program that grades students (Maybe I will use it on you). Your program must open and read in input.txt

C++

You are to write a program that grades students (Maybe I will use it on you). Your program must open and read in "input.txt" (an example of which is below). It will contain the students name and their test scores. You are to calculate the students final grade in the course. Take the average of their test scores and output their average to a file with the below format. For the output.txt ensure that the formatting is in the block style shown below. Test scores should always be shown to the second decimal place.

image text in transcribedimage text in transcribedC++ is the language.

input.txt - Notepad File Edit Format View Help Meryl Streep 100 105 98.5 99.5 106 output (1).txt - Notepad File Edit Format View Help Meryl Streep Test scores: NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN Average score: ..... .....101.80 Test score 1: .100.00 Test score 2: .. . 105.00 Test score 3: .... .....98.50 Test score 4: .99.50 Test score 5: ..... ...106.00

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

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

What is absorption costing?

Answered: 1 week ago