1
3.6kviews
Write a program using recursive function 'power' to compute $x^n$
written 8.3 years ago by | modified 2.8 years ago by |
power(x, n) = 1 if n = 0
power(x,n) = x if n – 1
power(x,n) = x*power(x, n - 1) otherwise
Mumbai university > FE > SEM 2 > Structured Programming Approach
Marks: 10M
Year: May 2014
ADD COMMENT
EDIT
1 Answer