Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create 3 vectors to contain the values for the names, scores, IDs, respectively. The vectorfor the names should be of string type, while the other
Create vectors to contain the values for the names, scores, IDs, respectively. The vectorfor the names should be of string type, while the other two should be integer type. Read from the scores.txt file in order to store all the necessary values on the vectors.Hint: use pushback for each of them After the user presses command v display a table with each of the values for the names,scores, and IDs. When displaying the values on the table, use a column width of for the name, and acolumn width of for the rest of the columns Hint: use setw Left justify the column for the day, and Right justify the rest of the columns. When the user presses command a add each of the values for the new score. Then, saveeach of those values in their respective vectors. After the user presses command x the program ends
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started