- = Predict the Output What will each of the following program segments display? 39. int myPower Function(int num, int p
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
- = Predict the Output What will each of the following program segments display? 39. int myPower Function(int num, int p
- = Predict the Output What will each of the following program segments display? 39. int myPower Function(int num, int power) { answer = 1; for (int count = 1; count <= power; count++) answer = answer * num; return answer; } A) cout << myPower Function (2, 3) << endl; B) cout << myPower Function(3, 2) << endl; C) cout << myPower Function (2.5, 2) << endl;
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!