help pleeasee Create a  C code that will allow the user to input a word and check whether it is a palindrome or not. Also input the reversed string of the word. Use a stack to reverse the order of a string and identify whether it is a palindrome or not. It should not be case-sensitive. Example 1: Input string: Racecar Reversed string: racecar Palindrome: Yes exampl 2: Input string:ToyotA Reversed string: atoyot Palindrome: No   Note: maximum string length is 20

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

help pleeasee

Create a  C code that will allow the user to input a word and check whether it is a palindrome or not. Also input the reversed string of the word.

Use a stack to reverse the order of a string and identify whether it is a palindrome or not. It should not be case-sensitive.

Example 1:

Input string: Racecar

Reversed string: racecar

Palindrome: Yes

exampl 2:

Input string:ToyotA

Reversed string: atoyot

Palindrome: No

 

Note: maximum string length is 20

Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Knowledge Booster
Stack
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT