Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi! I am struggling with part 5 of my lab. After I return the string it I cant get it to print. It works on
Hi! I am struggling with part 5 of my lab. After I return the string it I cant get it to print. It works on online c compiler, but not on the terminal. My code need to work on the terminal to get credit. Please help thanks!
1. (8 points) Main function - calls other functions 2. (12 points) Function to get the length of a string 3.(12 points) Function to test if a char is lower case (Hint: for charc, C >= 'a' works) 4. (20 points) Function to convert a lower case char to uppercase (Hint: Look at positions in ASCII table) 5.(12 points) Function to get string from keyboard. Hint: scanf will not work for strings with spaces. Google gets() and make sure that the string is sufficiently large to contain reasonable size input. 1 #includeStep 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