Computer Science, asked by aushpurohit69, 8 months ago

Write a program to compute a^n (a power n) using recursion.
INPUT & OUTPUT FORMAT:

Input consists of 2 integers

Refer sample input and output for formatting specifications

SAMPLE INPUT & OUTPUT:

Enter the value of a

2

Enter the value of n

8

The value of 2 power 8 is 256

Answers

Answered by Anonymous
0

Answer:

hi..

Explanation:

hope it helps you..

Attachments:
Similar questions