#include <iostream>   

using namespace std;

int num;

int Square( int );

int Cube( int );

int main()
{

  cout << "Please enter an integer: ";
  cin >> num;

  cout << "The square of " << num << " is " << Square(num) << endl;
  cout << "The cube of " << num << " is " << Cube(num) << endl;


  return 0;
}

int Square( int n )
{
  return n*n;
}

int Cube( int n)
{
  return n*n*n;
}
