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 @hotmail.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:
Shereef
Please enter last name
abualmaati
Sample output:
Your user name is: Abualmaatis@hotmail.com
2007-03-17
18:14:47
·
2 answers
·
asked by
LULU
1
in
Computers & Internet
➔ Programming & Design