Write a c program performing different operations


Problem:

Question: Write a C program that will allow for the following operations(each should be in their own function). For the following choices, the user input is to be passed to the appropriate function via pointers.

a) Allow the user to enter two stings and then have the function concatenate the two strings with a / between them, creating a third string. Print out the contents of all three strings.

b) Allow the user to enter a sentence and the function should convert the sentence to all lowercase letters. The function should output the original sentence as well as the lowercase sentence. It should also count all of the words in the sentence and output that as well.

c) Allow the user to enter a sentence and the function should convert the sentence to all uppercase letters. The function should output the original sentence as well as the uppercase sentence. It should also count the number of words in the sentence and output it as well.

Please show the work step by step.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a c program performing different operations
Reference No:- TGS0891353

Expected delivery within 24 Hours