Answered You can hire a professional tutor to get the answer.

QUESTION

CS 1A Assignment #4 Fall 2016 October 18, 2016 __________________________________________________________________________________ Programming...

Assignment OverviewThis assignment will give you practice with interactive programs and if/else statements.Part 1: User name Generator [10 points]Write a program that prompts for and reads the user’s first and last name (separately). Then print a string composedof the first letter of the user’s first name, followed by the first five characters of the user’s last name, followed bya random number in the range 10 to 99.Assume that the last name is at least five letters long. Similar algorithms are sometimes used to generate usernamesfor new computer accounts.CLASS NAME. Your program class should be called UserNameGenerator.java.Sample run:Enter your first name: WilliamEnter your last name: HenryUsername: WHenry88

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question