Question: (C++)Write a program that reads the following data file of NFL quarterbacks, and... create a data structure to represent the data (dob, name, wins, losses,
(C++)Write a program that reads the following data file of NFL quarterbacks, and... create a data structure to represent the data (dob, name, wins, losses, and salary) create an analysis class that will contain the list or vector of quarterbacks, and will analyze it as follows:
print out the list of quarterbacks (from highest to lowest salary, AND from most wins to least wins). NOTE, there may be more than one least or one most. and decide who is the highest paid quarterback, and and decide who is the lowest paid quarterback.
quarterbacks.txt ---------------- 11 15 1980 Aaron Rodgers 198 20 34000000 10 22 1979 Matt Ryan 193 35 28000000 8 4 1977 Drew Brees 191 27 29000000 4 7 1975 Russell Wilson 195 23 27000000 7 4 1978 Eli Manning 191 28 28000000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
