Write a program that gets the names


Write a program that gets the names and then the test scores for each of an unspecified number of students and then writes a table listing each student's name and test average on a line under appropriate headings to the file that is named by the user. Each student will have three test scores. Valid test scores are integers in the range 0 through 100. Write a sentinel controlled loop to get the input. Round the test
average to exactly one digit to the right of the decimal point. Names should be left-justified in a column under the heading "Student Name". Averages should be right-justified in a column under the heading "Average". The user must be allowed to enter the file name. Do not overwrite an existing file without getting the user's permission to do so.
Shown below is the format of a table written to a file when some sample data was entered using a program that satisfies the requirements of this assignment:
Student Name Average
Katherine Marie Westermann 94.7
Jake Smith 83.0
Billy Bob Van Pelt 75.3 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that gets the names
Reference No:- TGS097535

Expected delivery within 24 Hours