Sunday, 15 January 2012
Program To Find Square Root of Number In C++
#include<iostream.h>
#include<conio.h>
#include<math.h>
main()
{
clrscr();
float x,y;
cout<<"Enter number";
cin>>x;
y=sqrt(x);
cout<<y;
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment