Browse Source

Rephrase the explanation for iterative and recursive power exercise

pull/826/head
Augusto 3 years ago
parent
commit
8f18512562
  1. 2
      subjects/iterativepower/README.md
  2. 2
      subjects/recursivepower/README.md

2
subjects/iterativepower/README.md

@ -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.

2
subjects/recursivepower/README.md

@ -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.

Loading…
Cancel
Save