Question: create a java application that creates a user name and password based on user input User Name structure should be as follows: Lowercase first character

create a java application that creates a user name and password based on user input

User Name structure should be as follows:

Lowercase first character of the first name

Lowercase first character of the middle name (use X if no middle name)

Lowercase last name (if last name is hyphenated then remove hyphen and use both parts together. If last name consists of more than one word then remove the space). remove any of the following : Jr., Sr., periods, dashes, apostrophes, or spaces

So: John Smith = josmith

Password:

Uppercase first letter of the first name

Uppercase first letter of the last name

Birthdate in the following format mmddyyy (remove any dashes, slashes, or periods. Hint: use replace method to replace dashes, slashes, and periods with blank )

Random number between 1 - 100

So John Smith DOV 12/21/1983 = SJ1221198366

Example:

Enter your first name: Susie

Enter your middle name (enter X if you do not have middle name): Lane

Enter your last name: Smith-Mc'Arthur

Enter your birth date: 12.21/1983

---------------------------- Your user ID and password are as follows: User name: slsmithmcarthur Password: SS1221198388

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!