954,162 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Print words to uppercase and reverse alphabetical order

Thank you for your reply. Problem solved!

NinjaLink
Posting Pro in Training
419 posts since Mar 2008
Reputation Points: 8
Solved Threads: 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.

Sky Diploma
Practically a Posting Shark
865 posts since Mar 2008
Reputation Points: 673
Solved Threads: 130
 

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

tiluyomade
Newbie Poster
1 post since Feb 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You