Computer Science, asked by dhananp, 7 months ago

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 bhagatsingh4441bhaga
0

Answer:

it is not the correct

Explanation:

Mark as brainlist and said thanks

Answered by sirisharma
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