/* division.c * * Example for CS 313 * * Daniel Scharstein * * to compile, use gcc -Wall -o division division.c * to test for "pure" (ANSI) C, use -ansi - pedantic */ #include #include "sillymath.h" int main () { int a, b; float c; a = 5; b = 3; printf("Hi!\n"); c = quotient(a, b); printf("FYI, %d/%d is %f\n", a, b, c); return 0; /* success exit status */ }