C & C++ language
Home
HTML
C&C++ language
Movies
Games
Softwares
Saturday, 18 August 2012
Square Root of a Number
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
float num, res;
clrscr();
cout<<"enter a number:";
cin>>num;
res=sqrt(num);
cout<<"\n reault is:"<<res;
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment