convert decimal into fraction
Haven't you ever wanted to print output is fraction rather than decimal?
It can be done with repeatedly take the reciprocal and remove the integer part, building what is called as
Here is the small example about how it works:
$ make $ ./fract [decimal input]