Question: Create the main.h and main.cpp files for a C++ program that prompts the user to enter a line of characters of any length, and then

 Create the main.h and main.cpp files for a C++ program that

Create the main.h and main.cpp files for a C++ program that prompts the user to enter a line of characters of any length, and then display the line in reverse order. In other words, if the user enters "Hello World" your program would display "diroWolleH". The user input should be read from std::cin. Do Not require the user to enter any information about the length of the line - the only input the user should provide is the input line itself, entered one time. Your program may use the library, but no other C++ libraries or features from other C++ libraries. You may not use the string library or C++ string variables. You may not use the new or delete operators or any type of heap data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!