| pow(a, b); | 
Функция pow() cmath library takes two parameters: a, b. The first number is a(basic) raised to the power b.
Returns the value of ab .
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  | #include <iostream>   #include <cmath>  int main() {  float a = 2;  float b = 3;  float c = 5;  std::cout << pow(a, b) << std::endl;  std::cout << pow(c, b) << std::endl;  std::cout << pow(c, a) << std::endl;  return 0; }  | 
Execution result 23 , 53, 52 :
