Question: Section C Practical Instructions: Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part. Write a program that accepts 10
Section C Practical Instructions: Use Codeblocks / www.onlinegdb.com to write programs. Copy and paste program in the answer part. Write a program that accepts 10 integers form the user and then displays the sum of odd numbers and sum of even numbers using loops ( 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
Get step-by-step solutions from verified subject matter experts
