This shows you the differences between two versions of the page.
cpp:cmath:pow [2013/04/16 03:30] 64.134.43.113 |
cpp:cmath:pow [2013/04/16 03:30] (current) 64.134.43.113 |
||
---|---|---|---|
Line 21: | Line 21: | ||
cout.precision(8); | cout.precision(8); | ||
- | cout << "4 to the 2nd power is: " << pow(4, 2) << endl; | + | cout << "4 raised to the 2nd power is: " << pow(4, 2) << endl; |
return 0; | return 0; | ||
Line 29: | Line 29: | ||
==== output ==== | ==== output ==== | ||
- | 4 to the 2nd power is: 16 | + | 4 raised to the 2nd power is: 16 |