Write a C program to find the Square root of a given number

#include 
#include 
main()
{
      int a;
      clrscr();
      printf("ENTER ANY NUMBER\n");
      scanf("%d",&a);
      printf("SQUARE ROOT OF %d IS %4.3f\n",a,(float)sqrt(a));
    getch();
}

No comments:

Post a Comment