Project: Write a module to do computation with rational numbers. The rational
numbers should be represented as a structure with two integers, the numerator
and the denominator. Provide assignment, some input/output, and some of the
usual arithmetic operators. Addition and subtraction are harder than multiplication and division, and equality is nontrivial if the rational numbers are not reduced
to lowest terms.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here