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
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
Get step-by-step solutions from verified subject matter experts
