How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13039
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

For LogicPro OnlyMain MethodImplement a program that uses

This answer was rated:

Main Method

Implement a program that uses the Scanner to read a user password XXXXX verifies it meets the following criteria:

  • Is at least 7 characters long

  • Contains at least 1 lower letter character

  • Contains at least 1 upper letter character

  • Contains at least 1 numeric digit

  • Contains at least 1 special character from the set: !@#$%^&*

  • Does not contain the String “text” or the String “book”

Output a string that prompts the user for a password XXXXX include the requirements above in your output.

Output a string that states valid or invalid. If invalid, state which rule above has not been met.

Utilize the following functionality:

  • indexOf

  • Looping structure

  • charAt()

  • isDigit()

  • isUpperCase()

  • isLowerCase()

and any additional functionality needed. 


Implement a loop around the whole process, so that the program will allow to check for passwords until a correct one is provided, or up to a maximum of three tries, whichever comes first.

Welcome back. I will provide the answer ASAP

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and other Homework Specialists are ready to help you

Related Homework Questions