From 8f185125621e94b54691e2f1996d81c3a779ff75 Mon Sep 17 00:00:00 2001 From: Augusto Date: Mon, 7 Jun 2021 15:03:13 +0100 Subject: [PATCH] Rephrase the explanation for iterative and recursive power exercise --- subjects/iterativepower/README.md | 2 +- subjects/recursivepower/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/iterativepower/README.md b/subjects/iterativepower/README.md index 52b0228e..05542790 100644 --- a/subjects/iterativepower/README.md +++ b/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. diff --git a/subjects/recursivepower/README.md b/subjects/recursivepower/README.md index 3e2c6163..580e17c9 100644 --- a/subjects/recursivepower/README.md +++ b/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.