Your task is to declare a lambda expression named square that takes an integer input and returns its square.
square
The program reads one signed integer from standard input and prints its square using the lambda expression.
To ensure safe and deterministic behavior in embedded systems:
n
int
The program must output the result exactly in the format shown below.
Example 1
Input:
5
Output:
Square=25
Example 2
-3
Square=9
Test Cases
Test Results
Input
Expected Output