# Casio fx-7500G programs - Fraction v.1.0

This program allows to do exact operations with rational numbers. Allowed operations are sum, difference, multiplication, division and simplification (reduction to a ratio of mutually prime numbers).

## Commands and input

First command to choose is "1", the number insertion command; you will be asked two fractionary numbers (numerator and denominator for first and second number). Now you can perform a binary operation (sum, difference, multiplication or division); after this operation, you can ask to simplify the fraction using "2", the simplification command. "0" command will terminate the program.

## Notes

1) If you just want to simplify a fraction n/m, then first add n/m and 0/1, then simplify. 2) Don't execute operations that lead to divisions by zero.

## Program source

[Close window]