#include<iostream>
using namespace std;

// I recommend comments. I will try to revise
// the code to include comments later.

int square(int input);

int main()
{
 int number;
 cout << "Give me a number: ";
 cin >> number;
 cout << number << " squared is " << square(number)
      << endl;

 return 0;
}

int square(int input)
{
 int output = input*input;

 return output;
}