#C12606. Square Calculator
Square Calculator
Square Calculator
You are given two integers, start and end, and you need to compute the square of each integer in the range \( [start, end) \) (inclusive of start and exclusive of end). For each integer n in the range, output a line following the format:
The square of n is \( n^2 \)
If there is no integer in the range, output nothing.
inputFormat
The input consists of two space-separated integers start
and end
read from the standard input.
outputFormat
For every integer n
in the range from start
(inclusive) to end
(exclusive), print one line in the following format:
The square of n is n^2
Each output should be on a new line. If there are no integers in the range, produce no output.
## sample1 6
The square of 1 is 1
The square of 2 is 4
The square of 3 is 9
The square of 4 is 16
The square of 5 is 25
</p>