Check out this program and Enjoy
#include<stdio.h>
#include<conio.h>
void main(){
int a,x;
printf("enter the number");
scanf("%d",&a);
x=a*a;
printf("the square is %d",x);
}
Check out this program and Enjoy
#include<stdio.h>
#include<conio.h>
void main(){
int a,x;
printf("enter the number");
scanf("%d",&a);
x=a*a;
printf("the square is %d",x);
}