Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need to create a code based off of what the users first name and last name are along with a random set of numbers
I need to create a code based off of what the users first name and last name are along with a random set of numbers no longer than 10 characters
as the picture below demonstrate (Java language)
Scenario: You have been appointed by the CS department to create a username generator to create CS email accounts automatically. The CS email will have the following format: Username@cs.utep.du. Your username must have a limit of 10 characters. Your program, will provide three different options of usernames using the input from the user. You will follow these guidelines: lastnamefirstname ##(where ## two random digits (1-9)). firstnamechar1lastname##(where ## last two digits of birth year) ##lastnamefirst3charsfirstnamelast3chars (taking the first 3 characters from last name and last 3 characters from first name. Where ## is the length of your last name) *If your username Is longer than 10 characters, your program will cut the exceeding characters from the Last Name. Program Output Sample) Please enter your first name: Claudia Please enter your last name: Casas Please enter Date of birth in format MMDDYY: 021085 Your username options are: casasclaudia11 ccasas85 05casdia Please select the user name from the following options: 2 Your email address has been generated:ccasas85@cs.utep.eduStep 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