Program for finding the square root

Thursday, July 2, 2009 Leave a Comment


#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
long float n,s;
clrscr();
printf("Enter a number : ");
scanf("%lf",&n);
s=sqrt(n);
printf("Square root is : %lf\n",s);
getch();
}

Related Posts :



0 comments »

Leave your response!