Best collection of C programs
Tuesday, January 4, 2011
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment