Write a program that will read a file of student names

Assignment Help C/C++ Programming
Reference no: EM131504825

Computer Science: C++ Assignment

Test_data.dat Whitewater High School has contracted you to write a program that will read a file of student names and test scores in the formation FIRST NAME LAST NAME: SCORE1 SCORE2 SCORE3, where each of the scores is an integer. Then your program is to print a report, sorted by last name with each of the last names fully capitalized (that is, if you read in Wilkinson you print WILKINSON) followed by a comma, then the first name, then a colon, then the scores, then the average for the student, and lastly a letter grade (based upon 90 percent or greater being an "A," 80 percent or greater being a "B," and so forth). At the end of the report the averages for each test are to be printed also. Needless to say, the report must be written to a file and must be "pretty" (in proper columns and such). (HINT: Read in the whole line as a string, switch the first and last name, sort the names, then compute the math. Use stringstream for input and output to read the separate items from each string once they are sorted and to format the output line before printing. Also, since you do not know what the total amount of data may be (the file below is only a SAMPLE to make sure your program runs, use vectors to store your data)
There is a test data file in the Files section of Canvas.

Below the main body of the report output who had the highest score for each test, and then the highest average overall.

If there are two or more people with the same last name, have them alphabetized correctly.

Attachment:- Test_data.rar

Reference no: EM131504825

Questions Cloud

Market risk is also called unsystematic risk : Market risk is also called unsystematic risk or diversifiable risk. Firm-specific risk is also called systematic risk or undiversifiable risk.
Geometric average is higher than or equal to the arithmetic : The geometric average is higher than or equal to the arithmetic average.
Discussion and analysis of the quantitative results : Choose a publicly traded company and perform an expanded analysis on the financial statements. Use the most current 10K statements available on SEC.
Find a way of getting around the obstacle : Our exposition of scaling disregards the possibility of one or more approximations being infeasible, even though the original problem is feasible.
Write a program that will read a file of student names : write a program that will read a file of student names and test scores in the formation FIRST NAME LAST NAME: SCORE1 SCORE2 SCORE3.
What preventative measures can maria take : Maria (our diabetic) may develop complications that may impair her wound-healing process. What preventative measures can Maria take
Explain the bartels-golub method : Prove that throughout the application of Reid's bump-reducing procedure, the bump differs from an upper triangular matrix only in its last row.
What coupon rate should the company set on its new bonds : What coupon rate should the company set on its new bonds if it wants them to sell at par?
The components of a financial reporting system : Develop a memo that you will deliver to the board of directors of ICBI.Describe the meaning and the components of a financial reporting system.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd