For this Question: Bob is given an integer a. He wants to find the value of a + a^2 + a^3.The input consists of an integer a.

<b>Constraints</b>
1&le;a&le;10
a is an integer.Print the answer.<b>Sample Input 1</b> 
2
<b>Sample Output 1</b> 
14

<b>Sample Input 2</b> 
10
<b>Sample Output 2</b> 
1110, I have written this Solution Code: #include <iostream>
using namespace std;
int main(){
int a;
cin >> a;
cout << a + a * a + a * a * a << endl;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?