Performs the calculation by calling method integer- power


Write a method IntegerPower(base, exponent) that returns the value of baseexponent For example, IntegerPower(3, 4) = 3 * 3 * 3 * 3. Assume that exponent is a positive integer and that base is an integer. Method IntegerPower should use a For/Next loop or While loop to control the calculation. Do not use any Math library methods or the exponentiation operator, ^. Incorporate this method into a Windows application that reads integer values from TextBoxes for base and exponent from the user and performs the calculation by calling method Integer- Power.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Performs the calculation by calling method integer- power
Reference No:- TGS0129199

Expected delivery within 24 Hours