//****************************************************************** // Sample program // This program computes the square and cube of 27 //****************************************************************** #include using namespace std; int Square( int ); int Cube( int ); int main() { cout << "The square of 27 is " << Square(27) << endl; cout << "and the cube of 27 is " << Cube(27) << endl; return 0; } int Square( int n ) { return n * n; } int Cube( int n ) { return n * n * n; }