| | |
Print words to uppercase and reverse alphabetical order
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
The function
You will have to replace every letter in the string with its equivallent.Upper case character.
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.
•
•
Join Date: Feb 2008
Posts: 1
Reputation:
Solved Threads: 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
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
![]() |
Similar Threads
- HOw to sort the array of strings in c in alphabetical order of words.. (C)
- display in alphabetical order using singly linked list? (C)
- sorting strings into alphabetical order (Java)
- search in alphabetical order (VB.NET)
- take in a sentence and output # of words and occurrence of each letter in alpha order (C++)
- put a sentence in alphabetical order.... (Java)
- print words in reverse in a given sentence (C)
- Alphabetical Order (Python)
Other Threads in the C++ Forum
- Previous Thread: C++ and SDL
- Next Thread: Deleting from Structures
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game getline google graph homeworkhelper iamthwee ifstream input int integer java lib linkedlist linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text tree unix url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets





