ite a java code for a user who forgots his password and want to reset the password ask the user to enter the username and compare with the saved one. ask the user to enter the new password. count the number of letters and it its 6 or more accept the password if not then display too short ask to reenter the password and compare with the previous given password, if its equal display password is reset otherwise say passwords do not m

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 4PE
icon
Related questions
Question

write a java code for a user who forgots his password and want to reset the password

  • ask the user to enter the username and compare with the saved one.
  • ask the user to enter the new password.
  • count the number of letters and it its 6 or more accept the password if not then display too short
  • ask to reenter the password and compare with the previous given password, if its equal display password is reset otherwise say passwords do not match
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT