Question: C. Write a C program that prompts users to input 2 words. The program should then check whether the words entered are the same or
C. Write a C program that prompts users to input 2 words. The program should then check whether the words entered are the same or different and print the output. Sample outputs are as shown below:

D. Write a C program that asks the user to input a word and prints it in the reverse order. Maximum characters in the word entered by user should be 50. Your program should continue to ask the user for a word and print it in reverse order till the user enters quit. Sample output is as shown below:

Enter first word: computer Enter second word: programming Output: computer and programming are different words Press any key to continue .. . Enter first word: computer Enter second word computer Output: computer and computer are the same Words Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
