C & C++ language
Home
HTML
C&C++ language
Movies
Games
Softwares
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment