Write a C program reading a string from the standard input and capitalize the first letter of each word.

./string2
input a string:
we swears, to serve the master of the precious
We Swears, To Serve The Master Of The Precious

./string2
input a string:
and following our will and wind we may just go where no one's been
And Following Our Will And Wind We May Just Go Where No One's Been

Capitalizing letters

See the toupper function: https://linux.die.net/man/3/toupper

To check the correctness of your program, use a Linux distribution with check50 installed and write your solution in a file named string2.c. In a terminal, with that file in the local directory, check with this command:

check50 -l --ansi-log olivierpierre/comp26020-problems/2023-2024/week3-c-pointers-stdlib/13-string2