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
0
Answer:
hi..
Explanation:
hope it helps you..
Attachments:
Similar questions
Chemistry,
5 months ago
Social Sciences,
5 months ago
Math,
5 months ago
Social Sciences,
10 months ago
Math,
10 months ago
Computer Science,
1 year ago
Math,
1 year ago