first thing : i don’t know how to take a sentence as a input and also capitalizing each word in a sentence test case: input : i love codedopes output should be : I Love Codedops
For multi-word input, have a look at “How to take a multi-word input” from https://www.codesdope.com/c-string/
For capitalization, you can assume that each word are separated by a space(“ ”) and then you can capitalize the first letter of each word.
You can separate the manually or you can use strtok function – https://www.codesdope.com/blog/article/predefined-string-functions-of-c-in-stringh-librar/#strtok
For capitalization also, you can make your own function or use toupper – https://www.codesdope.com/blog/article/predefined-functions-for-individual-characters-cty/#toupper
Try to make the code on your own and let me know if you are still facing any difficulty, I would be happy to help.