and also, can i do this w/o using arrays?
Type: Posts; User: jaypeebee18
and also, can i do this w/o using arrays?
when i tried to divide something by 11 or more it results to -214748...
even 11 / 11 results to that...
thanks for the fact...and im getting some accuracy because of that fact but still, i cant divide 11 / 13... i always get a garbage value (-214748...)
5 / 7 is accurate though...
i think the program is running smoothly except for the fact that it divides inaccurately... the repeating decimal is true until the 6th decimal digit (when i use float) and 15th (when i use double)...
ok... but how can i divide repeating decimals that accurate? what variable do i need to declare?
how to display repeating decimals like this?
5 / 7 = 0.714285...
the repeating cycle is 714285
and the cycle length is 6...
how to display the repeating decimal and the cycle length? and...
i think you can use some libraries such as conio.h, time.h, stdlib.h, and graphics.h...
DJ!