/* these next two lines wrap the header file wrapping a header file is a good practice and prevents the file from being included too many times */ #ifndef LAB06_H #define LAB06_H // Name: // Class and Section: CS 54, Section // Date: February 19, 2007 // Purpose: To write functions for the new TI 42 /* we include iostream and the namespace here now anything that includes lab06.h doesn't need to include this again */ #include using namespace std; /* function prototypes */ double power(double base, int exponent); double absolute(double value); int absolute(int value); double freefall(double time, double startVelocity = 0.0, double startPosition = 0.0); /* this line ends the if that began on line 5 */ #endif