Exercise A: In this exercise, you are asking the user to set a alpha numeric password for any website. Put some conditions. Password must be 8 characters long. There must be at-least one uppercase...


Exercise A:


In this exercise, you are asking the user to set a alpha numeric password for any website. Put some conditions.



  • Password must be 8 characters long.

  • There must be at-least one uppercase letter

  • There must be at least one number.


Then show the user, you have set the correct password or not.


Exercise B:


This exercise is the extension of the above Exercise. In this exercise we are not checking all the criteria of having a good password.


Here ask the user to enter his/her password twice. If both matches, thanks the customer otherwise loop your code until user enters both passwords same.



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here