Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started