Question: Write a C++ program which accepts username and password from user and then print on the screen whether the user is authenticated or not. Also,
Write a C++ program which accepts username and password from user and then print on the screen whether the user is authenticated or not. Also, upon entering the wrong credentials (username and password) three times, the program must exit. The program must print the appropriate messages if the user enters wrong username or password.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
