Question: Name your program: p6.C This week we need to create a program where the user can enter a phrase (up to 100 characters), and the

 Name your program: p6.C This week we need to create a
program where the user can enter a phrase (up to 100 characters),

Name your program: p6.C This week we need to create a program where the user can enter a phrase (up to 100 characters), and the program will check if it is a Palindrome. Examples of: Palindrome Words: civic, kayak, level, radar Palindrome Phrases: Mr. Owl ate my metal worm. Never odd or even No lemon, no melon. Step on no pets NOTE-> Do not use the include int main (void) { char phrase[101]; //declare a char array to hold the input phrase printf("Enter a phrase: "); fgets (phrase, 101, stdin); //ill read no more than 100 chars. 1/fgets adds a null at the end of 1/the string (1.e. '\0') printf(" ", phrase); return a; Use the following command to submit your p6.c code cp p6.c home/faculty/skoss/cse 121/your_UID

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!