Sum of all even factors of numbers in the range [l, r]
Given a range [l, r], the task is to find the sum of all the even factors of the numbers from the given range.Examples: Input: l = 6, r = 8 Output: 22 factors(6) = 1, 2, 3, 6, evenfactors(6) = 2, 6 sumEvenFactors(6) = 2 + 6 = 8 factors(7) = 1, 7, No even factors factors(8) = 1, 2, 4, 8, evenfactors(