Write a program to capitalize each word of a string in C programing

Write a program to capitalize each word of a string.

Please check this article: C program to convert a string to uppercase or capitalize all characters - CodeVsColor

Two different ways are mentioned here.

Hello sir ! pls help me my teacher need me convert with Float but i can’t.
Write programs below :
Decimal to Binary
Each of your programs must be able to convert both integer and float. Also, it will not ask the user to input anything else other than the number they want it to be converted.
You cannot use any base conversion functions to directly convert the number.