# Answer to Question #38871 in C++ for sara george

Question #38871

Read an integer N. Print the square of each one ofthe even values from 2 to N including N if is the case.

Input

The input contain an integer N.

Output

Print the square of each one of the even valuesfrom two to N, as the given example.

Sample Input&

6

Sample Output

2^2 = 4

4^2 = 16

6^2 = 36

Input

The input contain an integer N.

Output

Print the square of each one of the even valuesfrom two to N, as the given example.

Sample Input&

6

Sample Output

2^2 = 4

4^2 = 16

6^2 = 36

Expert's answer

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment