# Reducing fraction to its lowest form

The following scratch program asks and reduces a random fraction generated to its lowest form. The code uses mod function to check and evaluate if the numerator and denominator can be divided without any remainders by a certain given number by the user. At the same time a pictorial representation of the fraction is drawn so as to see all the reduced parts are equivalent and look the same.