Program to find square of a number.
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b;
clrscr();
printf ("Enter any number to find its square: ");
scanf ("%d", &a);
b = a * a;
printf ("Square of %d is %d", a, b);
getch();
}
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b;
clrscr();
printf ("Enter any number to find its square: ");
scanf ("%d", &a);
b = a * a;
printf ("Square of %d is %d", a, b);
getch();
}