Hi all, I am new to C programming, can anyone help me out with a solution to find sum of digits of a 5-digit number without using control statements, like if, for... thank you
sakthi_2001 0 Newbie Poster
twomers 408 Posting Virtuoso
Aia 1,977 Nearly a Posting Maven
iamthwee commented: NIce catch +11
iamthwee
twomers 408 Posting Virtuoso
Dave Sinkula 2,398 long time no c Team Colleague
Aia 1,977 Nearly a Posting Maven
iamthwee
twomers 408 Posting Virtuoso
iamthwee
twomers commented: Please forgive me :( +3
twomers 408 Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.