How can I do in C?

For example I write a program like this;
I write a number like "4564983"
and my program run like "4.1+5.2+6.3+4.4+5.9+6.8+7.3=158"
How can ı write this program ?(Sorry for terrible english)

What have you tried so far? Show your work.

Actually I can’t nothing. I do not even know how to search the internet. I am looking for 3 hours and find nothing

Start by writing a Hello world program then. Then one that first reads input (what the user writes) and then prints that instead of “Hello World”. Then figure out how to print just the first and fifth character of a string and how to join them (concatenate them). Then you’re all set for the initial exercise — if you know how to get that 158.