Write a program called emailaddress that read from the standard input, keyboard input, a users first name and last name. The program should then generate an email address based on the following scheme: take the last name and make the first letter capital letter and the rest of the last name all lower case letter. Take this new last name and appended to it the first letter of the first name in lower case letter. Finally append @gmail.com to the end of the string. Display the newly generated email address. You can assume no blanks in the first or last name.
Sample input:
Please enter first name:
Shreef
Please enter last name
abualmaati
Sample output:
Your user name is: Abualmaatis@gmail.com
2007-03-07
16:15:08
·
1 answers
·
asked by
LULU
1
in
Computers & Internet
➔ Programming & Design