Write a program caps that reads in a character string, searches for all of the words within the string, and capitalizes the first letter of each word, while shifting the remainder of the word to lowercase. Assume that all nonalphabetic and nonumeric characters can mark the boundaries of a word within the character variable (periods, commas,etc.). Nonalphabetic characters should be left unchanged.