C Language
#include<stdio.h> #include<conio.h> void main() { int a, s; clrscr(); printf("Enter any number"); scanf("%d", &a); s=a*a; printf("square : %d",s); getch(); } /*OUTPUT*/ Enter any number 9 Square : 81