Loading
Home › Computer Science Help › Write a program that prompts the user to enter a password...
Status: Completed

Write a program that prompts the user to enter a password. If the user enters a invalid password, the program needs to tell the user why it is invalid and ask the user to enter another password. The program should stop only when the user enters a valid password. Here is one sample run to check these 4 passwords in order (My password18 pass18 password Mypassword18): Enter a new password: My password18 Invalid: Only letters and digits Enter a new password: pass18 Invalid: Too Few Characters (8 at least) Enter a new password: password Invalid: At least two digits Enter a new password: Mypassword18 Valid password!

Date Posted: 06/11/2016
Category: Computer Science
Due Date: 06/11/2016
Instruction
Write a program that prompts the user to enter a password. If the user enters a invalid password, the program needs to tell the user why it is invalid and ask the user to enter another password. The program should stop only when the user enters a valid password. Here is one sample run to check these 4 passwords in order (My password18 pass18 password Mypassword18): Enter a new password: My password18 Invalid: Only letters and digits Enter a new password: pass18 Invalid: Too Few Characters (8 at least) Enter a new password: password Invalid: At least two digits Enter a new password: Mypassword18 Valid password!
Bidders
kelvinrotich 10 years, 3 months ago
Rated 9.34 earned 14793.81 around 487 assignments.
Hello, this is an expert in java. Allow me to write code for a program that does exactly what you need.
$30.00
  • Ok. Let me get to work
    kelvinrotich | Jun 11, 2016, 05:25 AM
  • I have uploaded. Please check and release payment. Thanks for this opportunity
    kelvinrotich | Jun 11, 2016, 21:28 PM
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
GreatContentCreator 10 years, 3 months ago
Rated 9.34 earned 50723.58 around 1616 assignments.
hello friend
$102.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}
 
 
1stclasshonour 10 years, 3 months ago
Rated 9.22 earned 30856.96 around 773 assignments.
hi
$80.00
  • {$ item.message_content $}
    {$ item.sender_username $} | {$ item.date_entered $}