We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 804c0f2 commit 28f148cCopy full SHA for 28f148c
0x02-functions_nested_loops/103-fibonacci.c
@@ -17,7 +17,7 @@ int main(void)
17
sum = firstNum + secondNum;
18
firstNum = secondNum;
19
secondNum = sum;
20
- if (sum % 2 == 1)
+ if (sum % 2 == 0)
21
{
22
evenSum = evenSum + sum;
23
}
0 commit comments