A C program
/* A simple C program to read a number & compute and display
its square by using the multiplication (*) operator. */
main () /* a C program always has a main function */
int n; /* this declares an integer variable 'n' */
printf ("\nEnter the number to be squared: ");
printf ("Using the * operator, the square of %d is %d.\n\n",