Correct word in code explanation (#36146)

This commit is contained in:
Natalie Cardot
2019-06-01 07:06:54 -07:00
committed by Tom
parent 4c4f3c7f87
commit 33a61168c0

View File

@ -62,7 +62,7 @@ As you get the next odd one, don't forget to add it to a global variable that ca
* Create a variable to keep record of the current and previous numbers along with the result that will be returned.
* Use a while loop to make sure we do not go over the number given as parameter.
* We use the modulo operand to check if the current number is odd or even. If it is even, add it to the result.
* We use the modulo operand to check if the current number is odd or even. If it is odd, add it to the result.
* Complete the Fibonacci circle by rotating getting the next number and swapping values after.
* Return the result.