Arithmetic/Rational/C: Difference between revisions

m
typofix
m (typofix)
Line 1:
{{collection|Rational Arithmetic}}
 
C doesn't support classes, so a series of functions is provided that implmentsimplements the arithmetic of a rational class.
<lang c>#include <stdio.h>
#include <stdlib.h>