Question: Question 5a Write a function named integerPower that accepts two integer numbers (base and exponent) as formal parameters and returns the value of baseFor example,

 Question 5a Write a function named integerPower that accepts two integer

Question 5a Write a function named integerPower that accepts two integer numbers (base and exponent) as formal parameters and returns the value of baseFor example, integerPower (3,4)-3 333-81 The function integerPower ) should use a for or while loop to do the calculation. (Do not use any math library functions.) Include the integer Power function in a working program. Again, the main) function should input the values, correctly call integerPower) and display the value returned by the function, all with appropriate messages. submit Submit a printout of the program and output. Question 5b Write a function named isEqual that accepts two char values as formall parameters and returns TRUE if the characters ar the same otherwise FALSE Include the isEqual) function in a working program. The main ) function should input the values, correctly call isEqual and display the value returned by the function, all with appropriate messages Submit a printout of the program and output. submit Question Sc Write a function named twice) that accepts two integer values as formal parameters. The function then multiplies each parameter with 2 which is returned to the calling program Include the twice ) function in a working program. The main ) function should input the values, correctly call twice ) and display the values returned by the function, all with appropriate messages. 12 COS1511/102/1/2018 Submit a printout of the program and output submit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!