Topic: Mathematics Problem / Level: beginner

Problem: Implement a function to calculate the sum of even numbers from 1 to n.

Run the code to see the output here...