gcc mathprog.c -o mathprog -lmSome things are defined in stdlib.h instead of math.h.
#include <stdio.h> #define PI 3.14159265 int main(int argc,char *argv[]) { double Radius,Area; Radius = 27; Area = PI * Radius * Radius; printf("%f\n",Area); return(0); }