1. Problem A Arrays and Strings (cont.) 1.1 Specification Writean ANSI-C program that reads inputs line by line, and determineswhether each line of input forms a palindrome. A palindrome is aword, phrase, or sequence that reads the same backward as forward,e.g., “madam”, “dad”. 1.2 Implementation • name your programlab3panlindrom.c • assume that each line of input contains nospace, and contains at most 30 characters • define a function intisPalindrome (char []) which determines whether the input array(string) is a palindrome. • for each input word, first prints itbackward, and then determines if it is a palindrome, as shown inthe sample
PayPal Gateway not configured
PayPal Gateway not configured