Question: General Instructions: Use code blocks or online compiler to do the given program Write / copy paste the program in the space provided or upload

 General Instructions: Use code blocks or online compiler to do the

General Instructions: Use code blocks or online compiler to do the given program Write / copy paste the program in the space provided or upload the file. Write a program that accepts 10 integers from the user using loops and then displays the sum of odd numbers and sum of even numbers. (10 Marks) Sample Output: Enter number 1 : 2 Enter number 2 : 4 Enter number 3 : 3 Enter number 4 : 2 Enter number 5 : 5 Enter number 6 : 6 Enter number 7 : 2 Enter number 8 : 6 Enter number 9 : 3 Enter number 10 : 2 Sum of even numbers is 24 Sum of odd numbers is 11

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!