Question: Write a java a program that asks to input a password. The program will then start with one character and see if it matches the

Write a java a program that asks to input a password.
The program will then start with one character and see if it matches the password. 'A'
If it does not match, keep incrementing and check each time.
If you make it through all the characters, add another character. 'AA' then 'AB' and loop through all those possibilities.
Keep adding characters until you match it.
Java has a few ways you can check on the time. Make a note of the start time and then the end time. Display how long it took to match the password.

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!