Skip to content

Commit 17f434a

Browse files
authored
interest-is-interesting: fix typo (#889)
Fixing this also on the documentation of the exercise, This should be pointing to `i`. Previous PR was fixing it on the learning section but it seems it is also on the exercise itself
1 parent 3a3e34e commit 17f434a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/interest-is-interesting/.docs/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ In contrast, the keyword `continue` only stops the execution of the current iter
8484
```cpp
8585
int equal_sum{0};
8686
for (int i{1}; i < 7; ++i) {
87-
if (n%2 == 1) {
87+
if (i%2 == 1) {
8888
continue;
8989
}
9090
equal_sum += i;

0 commit comments

Comments
 (0)