Topic: Mathematics Problem / Level: intermediate

Problem: Implement a function to calculate the sum of all even numbers up to n.

Run the code to see the output here...