Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions: Write an application called UsernameGenerator that takes input from several questions and provides the user with a list of two possible generated usernames. The
Instructions: Write an application called UsernameGenerator that takes input from several questions and provides the user with a list of two possible generated usernames. The user can't come up with a unique username to use to create a new account, so your program will generate some possible values for them. Your code should work with any valid input values. Input: Your code will prompt and save the following inputs from the user: - First Name Assume the first name is one word String with at least 3 letters. Use your first name. - Last Name Assume the last name is one word String with at least 3 letters. Use your last name. * Birth Year Assume four-digit birth year. Can use String. Output: Your code will generate and display the following two usernames and their lengths (number of characters): 1st Username Generated Formula: [ 2nd character of first name] + "\$" + [last two digits of birth year] + [full last name in all uppercase] + [random number 1-100] 2nd Username Generated Formula: [1"t two characters of first name] + [length of the first name] + " \( \$ " \)quot; + [last 2 characters of last name] + [random number 50-75]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started