home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-

New Paste :: Recent Pastes:: Add Line Numbers

A Paste by Anonymous
// Pre:  Takes a positive radius for a circle
// Post: Returns area of the circle
double area( double r );
// Pre:  Takes a positive length and width of a rect
// Post: Returns area of the rect
double area( double x, double y );
// Pre:  Takes 3 positive lengths that form a triangle
// Post: Returns area of the triangle
double area( double a, double b, double c );