Jump to content

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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.