Showing posts with label WAP to find out Square root of any number. Show all posts
Showing posts with label WAP to find out Square root of any number. Show all posts

Tuesday, August 28, 2007

SQUARE ROOT

WAP to find out Square root of any number

#include

#include

void main ()

{

int no, a;

clrscr ();

printf ("Enter Number : ");

scanf ("%d",&no);

a=sqrt(no);

printf ("\nResult is %d", a);

getch ();

}


Output