Question: Develop a Python program which inputs a series of integers and processes them. The program will: a) Continue to process values until the user enters

 Develop a Python program which inputs a series of integers and

Develop a Python program which inputs a series of integers and processes them. The program will: a) Continue to process values until the user enters the value 0 b) Ignore all negative integers c) Count the number of odd integers entered d) Count the number of even integers entered e) Calculate the sum of the odd integers in the series f) Calculate the sum of the even integers in the series g) Display the sum of odds h) Display the sum of evens i) Display the count of odds j) Display the count of evens k) Display the total number of positive integers entered 1) BONUS: print a message whenever a negative integer is entered Sample output: Input an integer (0 terminates): 1 Input an integer (0 terminates): 3 Input an integer (0 terminates): -2 Input an integer (0 terminates): 2 Input an integer (0 terminates): 6 Input an integer (0 terminates): 5 Input an integer (0 terminates): 0 sum of odds: 9 sum of evens: 8 odd count: 3 even count: 2 total positive int c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!