Question: Please write a C + + program that functions as login leading to an options menu if login is successful. The program should begin with

Please write a C++ program that functions as login leading to an options menu if login is successful. The program should begin with a menu with two options: 1) login; 2) don't login. If don't login is chosen, it prints a message and exits. If login is chosen, the program imports a file with login names and their hashed passwords, which it compares to the inputs after hashing the password input. If both login name and hashed password match, then a menu that includes a logout option is presented; otherwise, the program prints a message and returns to the original menu.

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 Programming Questions!