Wednesday 30 January 2013

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

Comment