C program to find Square root of a input number

      No Comments on C program to find Square root of a input number
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int x,y;
printf("Enter Number");
scanf("%d",&x);
y=sqrt(x);
printf("Squareroot of a number is:%d ",y);
getch();
}

OUTPUT:-

Leave a Reply

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