Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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:

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

=+7. Compare Walmarts new and old logos:

Answered: 1 week ago

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago