Program to capitalize first and last letter of each word in a line is discussed here. The basic algorithm is to keep track of the spaces and capitalize the letter before the space and after space. The first letter and the last letter of the given line should be capitalized.
@@coding::1@@
Recommended Programs