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

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

void main()
{
    long n;
    float sq;
    clrscr();
    cout<<"Enter any number = ";
    cin>>n;
   
    sq=sqrt(n);
    cout<<"\nSquare root of "<<n<<" = "<<sq;

    getch();
}

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