1) Write a program to calculate the square of a number.