#include<iostream.h>
#include<conio.h>
#include<math.h>int main(){ double num, ans;
cout<<"Enter number to find square root";
cin>>num;
ans=sqrt(num);
cout<<"The square root of "<<num<< "="<<ans;
getch();}
#include<conio.h>
#include<math.h>int main(){ double num, ans;
cout<<"Enter number to find square root";
cin>>num;
ans=sqrt(num);
cout<<"The square root of "<<num<< "="<<ans;
getch();}
No comments:
Post a Comment