randRange( 1, 5 ) randRange( 1, 10 ) * FACTOR randRange( 1, 10 ) * FACTOR getGCD( NUM, DENOM ) $._("to")

person(1) has NUM fruit( 0 )person(1) has NUM plural_form(fruit( 0 ), NUM) for every DENOM fruit( 1 ).for every DENOM plural_form(fruit( 1 ), DENOM). Write the ratio of fruit( 0 )s to fruit( 1 )s as a simplified fraction.

NUM / DENOM

Ratios can be written in a few different ways that mean the same thing.

You can express a ratio with a colon separating the two numbers.

NUM:DENOM

You can write it out as a phrase like this.

NUM \text{ TO } DENOM

Or, you can express a ratio as a fraction.

\dfrac{NUM}{DENOM}=fractionReduce( NUM, DENOM )

Therefore, fractionReduce( NUM, DENOM ) is the ratio of fruit( 0 )s to fruit( 1 )s written as a simplified fraction.