Challenge: Convert a float to a fraction | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Challenge: Convert a float to a fraction

As it is stated in the title; write a program in any language in which the input should be a number(Float or Integer) and it should output a fraction that is equal to the input in value. Choose your weapon!

14th Aug 2017, 8:57 PM
Abdelfattah Toulaoui
Abdelfattah Toulaoui - avatar
1 Answer
14th Aug 2017, 11:32 PM
Daniil Bannoni Mukhachev
Daniil Bannoni Mukhachev - avatar