Answered step by step
Verified Expert Solution
Question
1 Approved Answer
usinh Use c++ You group is asked to write a menu driven program that keeps track a list of student names using a yector (you
usinhUse c++
You group is asked to write a menu driven program that keeps track a list of student names using a yector (you must use VECTOR to store all names; but you may use array methods to access its content). The framework of the program is given (on Page 3 and 4) Program Features The program asks the user to enter the name of the data file, e.g., c lnames.txt (with path when needed) program has 4 menu options. After it reads the input data file successfully, it displays the menu and asks the user to enter one of the options following scena tu The user entered option "1" to display all names. After, the menu displayed again and waited for another input. understand the ram requirements CWINDOWS system32\cmd.exe Please enter the data file nane (with location: cEAnanes.txt Grade Report ProgramMain Menu Enter 1 to display ALL students Enter 2 to add a student name Enter 3 to delete a student nane Enter 4 to SAUE and quit the progran Enter nenu option: 1 names - Notepad File Edit Format View Peter white Tom Black Display ALL student names.. Peter White Tom BlacK Mary Jones A total of 3 names- ary Jones Grade Report Program Main Menu Enter 1 to display ALL students Data file's Enter 2 to add a student name Enter 3 to delete a student nane Enter 4 to SAUE and quit the progran content Enter nenu option CACWINDOWS system321cmd.exe Enter menu option:2 Enter a new name (First and Last NaneAndy Law The user entered option "2" to add a name. The user added the name Andy Law". After, the program said "Name 'Andy Law has been added". After, the menu displayed again and waited for another input. Name Andy La has been added. Grade Report Program Main Henu Enter 1 to display ALL students Enter 2 to add a student nane Enter 3 to delete a student nane Enter 4 to SAUE and quit the progran Enter menu option: 1 Display ALL student nanes.. Peter White Tom Black Mary Jones Andy Law A total of 4 names-_- Grade Report Progran ain Menu Enter 1 to display ALL students Enter 2 to add a student nane Enter 3 to delete a student nane Enter 4 to SAUE and quit the progran Enter menu ontionStep 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