c 2b 2b power of a number

Solutions on MaxInterview for c 2b 2b power of a number by the best coders in the world

showing results for - "c 2b 2b power of a number"
Vincenzo
18 Feb 2016
1#include <iostream>
2#include <cmath>
3using namespace std;
4
5int main ()
6{
7	double base, exponent, result;
8	
9	base = 3.4;
10	exponent = 4.4;
11	result = pow(base, exponent);
12	
13	cout << base << "^" << exponent << " = " << result;
14	
15	return 0;
16}
Nick
01 Nov 2018
1double pow(double x, double y);