#include int main(char str[ ]int = word_count line_count = char_count clrscr()printf("\ enter '*to end")printf("\ **************")printf("\ enter the text ")scanf("% "&str[ ])while(str[ !'*' ++scanf("% "&str[ ])str[ '\ ' = while(str[ !'\ 'if(str[ ='\ | == line_count++if(str[ =&&str[ + !'word_count++char_count++ ++printf("\ the total count of words is % "word_count)printf("\ the total count of lines is % "line_count)printf("\ the total count of characters is % "char_count)return output enter '*to end *************enter the text hi therethe total count of words is the total count of lines is the total count of characters is write program to find whether string is palindrome or not #include #include int main(char str[ ]int jlength clrscr()printf("\ enter the string ")gets(str)while(str[ !'\ 'length+ + = length while( <length/