NBA - Boston Celtics

Friday, 27 January 2012

GET THE SQUARE ROOT OF ANY NUMBER....


#include<iostream.h>
#include<math.h>
main()
{
int x,y;
cout<<"enter the value of x:\t";
cin>>x;
y=sqrt(x);
cout<<"the squart of " << x <<" is "<<y;
}

No comments:

Post a Comment