Arithmetic/Rational/C: Difference between revisions

Content deleted Content added
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>