Question: Design a C++ program with the use of classes. The program must ask the user for his first and last name, a password and a


Design a C++ program with the use of classes. The program must ask the user for his first and last name, a password and a number id starting with "1000" will be assigned. The user info must be stored in a text file using infile or related functions. The program should look like this: IS: 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 1 Enter your first name: Ray Enter your last name: Gun Enter a password: test Your user ID is: 10001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 2 Enter user ID to display: 10001 Enter password: test18 Your password is incorrect. Try again: test First name: Ray Last Name: Gun Password: test ID: 10001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
