76 942
Assignments Done
Successfully Done
In June 2019

Answer to Question #38174 in C++ for ephrem moges

Question #38174
write a C++ program that accepts a word from the user and then displays the word after reversing it.
Expert's answer
#include <iostream> 
#include <conio.h>
#include <string>

using namespace std;

int main()
string word;
cout<<"Enter the word you'd like to reverse : ";
getline (cin , word);

cout<<"Here is the reversed word : ";
for (int i = word.size(); i >= 0; i--)

return 0;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions