Question: Write a C program in Code::Blocks that: -Prompts a user to enter three to five words separated by spaces (up to 150 characters total) -Prints
Write a C program in Code::Blocks that:
-Prompts a user to enter three to five words separated by spaces (up to 150 characters total)
-Prints out to the terminal You entered: followed by the full string the user entered.
-The program will print out the words on separate lines in human alphabetical order (A == a)
-Each print out will have a description of its order in the list such as 1st alphabetically:
-The program will not have issues with two identical words and will print them in sequence with other words
For an input of One Two Three Three Four the output should be:
You entered: One Two Three Three Four
1st alphabetically: Four
2nd alphabetically: One
3rd alphabetically: Three
4th alphabetically: Three
5th alphabetically: Two
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
