Program to an integer and output the cube of that integer

Program to an integer and output the cube of that integer
  #include <iostream>
using namespace std;
int main(){
       int a;
       cout << "Enter Number" << endl;
       cin >> a;
       a = a*a*a;
       cout << "cube of number is " << a<< endl;

       system("pause");
       return 0;

}

Comments