C++ examples for Function:Function Parameter
Passing multiple variables to a function
#include <iostream> #include <math.h> using namespace std; int main()//from w w w .j a v a 2 s . co m { double number = 10.0; double exponent = 3.0; cout << pow(number, exponent) << endl; return 0; }