The program prompts the user to enter a word and then prints that word out a number of times equal to the length of the word. The program uses the scanf function to scan in the input word but should never use gets to scan in strings as it is dangerous and explained in week 4 lectures on strings. Instead, str should be used.