English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

1 answers

Whats the problem that you have here? Try putting your doubts and not your exercise that all the people here will help you.

2007-03-08 02:50:58 · answer #1 · answered by Anonymous · 0 0

fedest.com, questions and answers