Question: Write a C program that inputs a line of text 1) use standard input/output library function to get user input 2) print it out with

Write a C program that inputs a line of text

1) use standard input/output library function to get user input

2) print it out with uppercase

3) reverse the string and print it out

4) uses function strtok to count the total number of words. Assume that the words are separated by either spaces.

Please enter a line of text: this is a test =====Change the string to upper case===== THIS IS A TEST =====Reverse string===== TSET A SI SIHT =====Print the tokens===== THIS IS A TEST There are 4 words in the input text

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem lets break down the task into several steps Well write a C program that performs each of the specified operations reading a line ... View full answer

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!