A program that read any number & display its square root in C.

#include<stdio.h>
#include<conio.h>
#include<math.h>

void main()
{
    long n;

    float sq;
    clrscr();
    printf("Enter any number = ");
    scanf("%ld",&n);
   
    sq=sqrt(n);
    printf("\nSquare root of %ld = %f",n,sq);

    getch();
}


///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........