write a program to calculate the square root of 400
Answers
Answered by
0
Answer:
Program for Square Root in C++
using namespace std;
int main()
float sq,n;
cout<<"Enter any number:";
cin>>n;
sq=sqrt(n);
cout<<"Square root of "<<n<<" is "<<sq;
return 0;
Answered by
0
Step-by-step explanation:
Program for Square Root in C++
using namespace std;
int main()
float sq,n;
cout<<"Enter any number:";
cin>>n;
sq=sqrt(n);
cout<<"Square root of "<<n<<" is "<<sq;
return 0;
Similar questions