Write a program that meets the following requirements:

Write an application that accepts a user’s password from the keyboard. When the entered

password has fewer than six characters, more than 10 characters, or does not contain at least one letter and one digit, prompt the user again. When the user’s entry meets all the password

requirements, prompt the user to reenter the password, and do not let the user continue until the

second password matches the first one. Save the file as “Password.java”

Create appropriate variables for the data.

Create a Java program from detailed directions.

Ability:

 Follow established programming conventions for writing java programs

 Able to integrate Strings to determine whether letters or digits

 Able to compare Strings

 Able to correctly use a Boolean variable

 Able to use loops - while and for

 Able to write IF statements

 

 Use the print statement for output

    • 8 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      password.zip