Question: Write a program in C++ using a CLASS or CLASSES. The program must save all the information on a textfile using the infile and onfile

 Write a program in C++ using a CLASS or CLASSES. The

program must save all the information on a textfile using the "infile"

and "onfile" functions, or something similar The program must let the user

enter his first name, last name and a password. Every time the

Write a program in C++ using a CLASS or CLASSES. The program must save all the information on a textfile using the "infile" and "onfile" functions, or something similar The program must let the user enter his first name, last name and a password. Every time the user does this, a number ID will be assigned to him starting with "1000" This is how the program should look like: 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: 1000 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 2 Enter user ID to display: 1000 Enter password: test18 Your password is incorrect. Try again: test First name: Ray Last Name: Gun Password: test ID: 1000 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 1 Enter your first name: Guy Enter your last name: Sensei Enter a password: test2 Your user ID is: 1001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 2 Enter user ID to display: 1002 User ID not found. Try again: 1001 Enter password: test2 First name: Guy Last Name: Sensei Password: test2 ID: 1001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 5 Program exited successfully Write a program in C++ using a CLASS or CLASSES. The program must save all the information on a textfile using the "infile" and "onfile" functions, or something similar The program must let the user enter his first name, last name and a password. Every time the user does this, a number ID will be assigned to him starting with "1000" This is how the program should look like: 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: 1000 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 2 Enter user ID to display: 1000 Enter password: test18 Your password is incorrect. Try again: test First name: Ray Last Name: Gun Password: test ID: 1000 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 1 Enter your first name: Guy Enter your last name: Sensei Enter a password: test2 Your user ID is: 1001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 2 Enter user ID to display: 1002 User ID not found. Try again: 1001 Enter password: test2 First name: Guy Last Name: Sensei Password: test2 ID: 1001 1) Create account 2) Display account 3) Delete account 4) Update account 5) Exit program Enter your choice: 5 Program exited successfully

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!