how to write a program to Accept 8 integers from the user and add only the positive integers and print the sum.
Answers
Answered by
0
Answer:
it is not the correct
Explanation:
Mark as brainlist and said thanks
Answered by
0
Answer:
sm=0
for i in range(1,9) :
n=int(input("Enter a number"))
if n%2==0:
sm+=n
print(sm)
Explanation:
hope this helps
Similar questions
Hindi,
3 months ago
India Languages,
7 months ago
Biology,
11 months ago
Math,
11 months ago
Math,
11 months ago