Question
Create a program (file name [YourName]-Assignment8, replace [YourName] with your actual name) that requires users to enter their own password and validates it. The password
Create a program (file name [YourName]-Assignment8, replace [YourName] with your actual name) that requires users to enter their own password and validates it. The password has to meet the following criteria:
The password should be at least eight characters long
The password should contain at least one uppercase letter
The password should contain at least one lowercase letter
The password should have at least one digit
The password should have at least one of the following symbols: #, $, &, *, ^, +, -, or @.
The program should allow the user to enter a password and then display a message indicating it is valid or not. If the password is not correct the program should ask the user again for a password and validate it repeatedly, until a valid/correct password is provided. You can lose additional points for not documenting your code, for naming the programs, files, classes, fields, and methods as requested, not submitting the correct files.
Take screenshots of the editor window (showing the entire source code and the entire output) and paste them in a Microsoft Word document called [YourName]-Screenshots.docx. Replace [YourName] with your actual name. If the entire code or the output does not fit in one screenshot, create multiple screenshots and add them to the screenshots document. SUBMIT [YourName]-Assignment8.java source code and the [YourName]-Screenshots document on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started