Question: Write a program, which will ask for and read in a line of text characters using a C-type string (an array of characters with an
Write a program, which will ask for and read in a line of text characters using a C-type string (an array of characters with an end-of-string mark denoting where the characters stop. The program will then determine if the line of text forms a palindrome and print whether it is or not. After printing this message, the program will ask for another line of text. The program will end when the line of text read matches the characters END (letters in all caps).
NOTES:
1)When testing if the string is a palindrome, an upper and lower case character will be considered a match. Only when checking for END is there a requirement for the case to be specifically upper case.
2)The maximum number of displayable characters in a line will be 80.
BONUS: Do the program without use of any str functions plus 10 points.
Please write this code for C program not c++ or java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
