ok so i dont want answers i just need a start.....
i have to write a program that changes any decimal to a fraction example 0.75 is 3 divided by 4
ok so i dont want answers i just need a start.....
i have to write a program that changes any decimal to a fraction example 0.75 is 3 divided by 4
if you realize that 0.75 = 75/100 you can do a simplification (Greatest common divisor) and you will have 3/4.