3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by tiluyomade
0

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.

0

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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.