السلام عليكم
اخواني لو سمحتو اذا ممكن حد يساعدني او يعطيني فكره حل اهذي المساله
Write a function Power(base, exponent) that when invoked returns
For example, Power(3,4) = 3 * 3 * 3 *3. Assume that exponent is an integer greater than or equal to 1. Use this function in a program that inputs base and exponent in a loop until user enters negative value for the exponent.