Browse Source

docs(multorsum): rephrase one sentence

DEV-4017-prototypes-exercise-1-animals
jrosendo 2 years ago committed by José Rosendo
parent
commit
3d8156f44c
  1. 2
      subjects/multorsum/README.md

2
subjects/multorsum/README.md

@ -4,7 +4,7 @@
Write a function that receives a slice of `int` and an `int` representing the initial value as arguments.
You should traverse the slice and for each `int` check the following restrictions:
The function should go through the slice and for each `int` check the following restrictions:
- If the `int` is odd, multiply it by the init value. Return the accumulated value after traversing the entire slice.
- If the `int` is even, add it to the init value. Return the accumulated value after traversing the entire slice.

Loading…
Cancel
Save