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
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-38871.pdf
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment