Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sqrt in c++

#include <iostream>
#include <cmath>
using namespace std;

int main()
{
	int x = 625;
	int result = sqrt(x);
	cout << "Square root of " << x << " is " << result << endl;
	return 0;
}
Source by www.cplusplus.com #
 
PREVIOUS NEXT
Tagged: #sqrt
ADD COMMENT
Topic
Name
5+1 =