Im begginning and find a problem. I need to show fractions in my program to the user not as a real number. How should I define these variables ? Is there any algorithm that converts from real to rational numbers ? Or any way to showing it in the X/Y format to the user ?