Example C++ Program (continued)
int Square(int n)
{
   return n*n;
}
int Cube(int n)
{
   return n*n*n;
}