Question: Here we want to include two new functions: (i) sumall(int a[ ], int size) and (ii) power(int base, int exponent). Checkpoint 1: In the switch
Here we want to include two new functions:
(i) sumall(int a[ ], int size) and (ii) power(int base, int exponent).
Checkpoint 1:
In the switch statement in the main() function, add these options when the user types S or B respectively.
![Here we want to include two new functions: (i) sumall(int a[ ],](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f0e8835246d_19466f0e882ccd74.jpg)
Code:
#include }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
