Question: In C + + Format . Any assistance would be greatly appreciated. Create a program prompting a user to create a user and password: Implement
In C
Format Any assistance would be greatly appreciated.
Create a program prompting a user to create a user and password:
Implement exception handling for the following scenarios:
Password is less than
characters
Password contains a
#
or
@
symbol
Password contains their username
Challenging
Create and use your own custom Exception class in your program
Sample Output:
Enter username: test
Enter password:
Invalid Password: Too few characters
Enter username: test
Enter password: P@$$w
rD
Invalid Password: Invalid characters
@ or #
Enter username: test
Enter password: Pa$$wordtest
Invalid Password: Cannot use username in password
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
