42. Inline Math Operation

 Your task is to declare a lambda expression named square that takes an integer and returns its square.

The program will read one integer from input and then call:

cout << "Square=" << square(n);

 

Example
 Input:

5

Output:

Square=25

 

Input:

-3

Output:

Square=9
Loading...

Input

5

Expected Output

Square=25