A special school is run by an NGO for kids with Dyslexia. We all know these children will start writing the letters backward or in reverse. Once special care is taken to correct this issue and once they are introduced to words, they will start writing the words in the proper format. The teachers do not want to discourage the children at the start itself and they have decided to mark the words written in reverse also as correct. Can you please help the teacher in correcting the answer sheets by writing a C++ program? Write a C++ program to check whether the second word is the reverse of the first word. Do not use strrev() function.
Input Format:
Input consists of 2 strings. Assume that the maximum length of the string is 50.
Output format:
Refer sample input and output for formatting specifications.
Sample input &output
Excellent
tnellecxE
Answers
Answered by
1
Answer:
Hey mate here is your answer with the attachment file plz mark me brainlest
Similar questions
Math,
4 months ago
Science,
4 months ago
Social Sciences,
8 months ago
Biology,
8 months ago
Business Studies,
11 months ago