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
Physics,
4 months ago
Math,
4 months ago
English,
4 months ago
Social Sciences,
8 months ago
Math,
8 months ago
Computer Science,
11 months ago
Math,
11 months ago