Thank you for your reply. Problem solved!

Tom Gunn commented: The thread is useless now that you have deleted the original question. -2

The function toupper takes a character argument and returns a character. so you cant assign a string and expect to get back the string itself.

You will have to replace every letter in the string with its equivallent.Upper case character.

Kindly work me thru how to write a program that prompts the user to enter three strings and does the following:

a. Output the strings in uppercase

b. Give the string length for each word

c. Of the three strings, determine the word that would be last alphabetically

d. Of the the three strings determine the word that would be first