Sum of Even Numbers

Write a loop to find the sum of all even numbers from 1 to a given number `n`.
10
Total : 0 Discussion
Login