top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Write a C program for decimal to factorial number system conversion and vice versa?

+3 votes
422 views

Decimal to Factorial
23(D) = 3210(F)

23 / 3! = 3 (5)
5 / 2! = 2 (1)
1 / 1! = 1 (0)
0 / 0! = 0 (0)

Factorial to Decimal
3210(F)=23(D),
3*3!+2*2!+1*1!+0*0! = 23(D)

posted Jun 27, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
what is the range of input?

...