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

No comments:

Post a Comment