+ 1

Can you help me to write a program in c ?

If a five digit number is input through the keyboard, write a program to calculate the sum of its digits.

29th Apr 2019, 4:25 PM
SHAAN GAMING
SHAAN GAMING - avatar
4 ответов
+ 5
First try this on your own and then see this solution https://www.programmingsimplified.com/c/program/c-program-add-number-digits
29th Apr 2019, 4:30 PM
Rstar
Rstar - avatar
+ 5
Rstar you gave him the solution, he should have probably show his try toward the problem first
29th Apr 2019, 4:43 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
Always start with the Sololearn tutorials.
30th Apr 2019, 1:14 AM
Sonic
Sonic - avatar
+ 1
Thanks, much appreciated
29th Apr 2019, 5:09 PM
SHAAN GAMING
SHAAN GAMING - avatar