A committee of bookkeepers partial to aardvarks embarked on a mission to the moon only to find that it was indeed made out of cheese. Programming Challenge: Write a program that takes its input from a file and produces as output a list of each word that contains one or more double letters. Include the number of times the double letters occurred. e.g.
committee 3 Use the Declaration of Independence as your input. (http://primepuzzle.com/tc/declaration_of_independence.txt) Note: You may use any language (except COBOL :-)) |