Question: C++ ONLY PLEASE! Write a program to reverse a string Input is a string from the user. Your task is to print the string in

C++ ONLY PLEASE!

Write a program to reverse a string

Input is a string from the user. Your task is to print the string in reverse. You cannot define a new array/string variable and use that. There should just be one string on which you do your operations.

Use pointers.

Use introduction to computing and 10 20 30 as testing cases, and present your results separately. The results should be gnitupmoc ot noitcudortni and 03 02 01

EX: if the input is:

introduction to computing

the output is:

gnitupmoc ot noitcudortni

EX: if the input is:

10 20 30

the output is:

03 02 01

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!