Adapted by Neilor Tonin, URI Brazil
Read an integer N. Print the square of each one of the even values from 1 to N including N if it is the case.
The input contains an integer N (5 < N < 2000).
Print the square of each one of the even values from 1 to N, as the given example.
Be carefull! Some language automaticly print 1e+006 instead 1000000. Please configure your program to print the correct format setting the output precision.
Input Sample | Output Sample |
6 |
2^2 = 4 |