Program to find Square Root of a Number

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int x,z;
clrscr();
printf("\nEnter X");
scanf("%d", &x);
z=sqrt(x);
printf("Square root of X is %d", z);
getch();
}

Leave a Reply