Find the sum of all even fibonacci numbers below a certain number

Just iterate over all fibonacci numbers until you reach the threshold. Add the even ones together.

Solution: