Write a program to display the square of any number in C programming

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);
}

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.