Question: write program using C programming language not C++ please Write a program that reads an unspecified number of strings and displays them in the reverse
Write a program that reads an unspecified number of strings and displays them in the reverse order they were entered. Your program should follow an outline similar to the following: 1. Inform the user that the program will read strings until "STOP" is entered 2. Loop a. Prompt the user for a string b. If the string is "STOP" break the loop, otherwise store it in an appropriate data structure 3. Inform the user that the data they will now be displayed in reverse 4. Display all the strings in reverse. 5. Free the space used by the data structure to store the strings
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
