#include <iostream>
#include <math.h>
using namespace std;
int main(){
double number, sq;
cout<<" enter a number which you want to calculate it’s sequare root :";
cin>>number;
sq=sqrt(number);
cout<<" square root is: "<<sq;
}
Output:
enter a number which you want to calculate it’s sequare root :25
square root is: 5
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer