•
Contents
•
Up
•
Test
•
Using a loop to accumulate the result, define function power(
x
,
n
), which returns
x
n
. Assume that
x
is a real number and
n
is a positive integer. Write the function with Define ... %Define around it.
Answer
Store
Compute
[
Language:
Cinnameg
Kind:
program]