next up previous contents
Next: Solution Up: Control StructureIntrinsics and Previous: Solution

 

Concatenate Names

Write a program which accepts two names (Christian name and Family name, a maximum of 10 characters each) and outputs a single string containing the full name separated by one space with the first letter of each name in upper case and the rest of the name in lower case. You may assumed that all inputs are valid names.

Hint a comes before A in the ASCII collating sequence.




next up previous contents
Next: Solution Up: Control StructureIntrinsics and Previous: Solution

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 14:10:26 GMT 1996