//Finding  square  root  of  a  number
#include<stdio.h>
int main()
{
    int N;
	printf("Enter  the  number");
	scanf("%d",&N);
	float low=0;float high=N;
	float mid;
	
	while(high-low>0.0002)
	{
	mid=(low+high)/2;
	if( (mid*mid) <N)
	low=mid;
	
	if( (mid*mid)==high)
	{printf("Answer is %f",mid);return 0;}
	
	if( (mid*mid) >N)
	high=mid;
	}
	printf("%f",mid);
	return 0;
}