Computer Science, asked by DollySingh231206, 3 months ago

Program to display the sum of even factors of a number input by the user. ​

Answers

Answered by pgarg964
2

programming using SUM function

Answered by Anonymous
4

Answer:

hello,

its using python.....

Explanation:

#Program to display the sum of even factors of a number input by the user.

a=int(input("enter the number"))

sum=0

for i in range(1,a+1):

   if a%i==0:

       if i%2==0:

           sum+=i

print(sum)

hope it helps you

please mark brainliest

@ItzSnowySecret07

Similar questions