Lab 3

Secure Password Generator

Due Date 11:59 PM

You will create a secure password.

  • Ask a user to enter their first name and last name. (Allow for mixed case)
  • Create a random integer from 10-99.
  • Create the password string that consists of:
    • The uppercase letter of the last letter of their first name.
    • The random number.
    • The first three letters of their last name in lowercase.
  • Use the concat method to add four **** values to the password and print the result.
  • Reverse the password string and print the result.
  • Hint: Use the StringBuilder class method to reverse the string.
  • Your printout should include the person's name and new password in the following format: Example Output

Your program must dynamically determine the last character from the first name. Do not hardcode the number.

How to Submit Lab?

  • Write your full name and email at the top of your file using a comment tag.
  • Compile and run your program, entering the required inputs.
  • Take a screenshot of the result upload on Blackboard
  • Zip your project with the source code, then upload it on Blackboard..
  • All assignments must be submitted via Blackboard on the due date.