C Programming and Technical Programming Arrays

if 1995 is the given number

you write the code to add like this
1+9+9+5=24
2+4=6

final result is 6;

write code without for loop and don't take unique digit numbers like 9999 ....

solve this programming puzzle...

Read Solution (Total 14)

C Other Question

int c,a=2;
c=++a + ++a;
printf("%d",c);
write a program that display numbers in pyramid order