Rephrase the explanation for iterative and recursive power exercise

This commit is contained in:
Augusto 2021-06-07 15:03:13 +01:00
parent fef1a4849b
commit 8f18512562
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
### Instructions
Write an **iterative** function that returns the power of the `int` passed as parameter.
Write an **iterative** function that returns the value of `nb` to the power of `power`.
Negative powers will return `0`. Overflows do **not** have to be dealt with.

View File

@ -2,7 +2,7 @@
### Instructions
Write an **recursive** function that returns the power of the `int` passed as parameter.
Write a **recursive** function that returns the the value of `nb` to the power `power`.
Negative powers will return `0`. Overflows do **not** have to be dealt with.