Question: Must Use the DO WHILE Loop Write a C++ program that reads 10 integers and then finds and prints the sum of the even and

Must Use the DO WHILE Loop Write a C++ program that reads 10 integers and then finds and prints the sum of the even and odd integers ***Don't let the user count 10 numbers. Your program should collect only 10 numbers; stop collecting after 10 numbers automatically. ***You assume that the user types only an integer number. ***Use main() function only; no user-defined functions. ***No object-oriented programming. ***Match the output below (output might be different depending on the while loop you are using). OUTPUT: Please enter 10 integers: 1 2 3 4 5 6 7 8 9 10 Even sum: 25 Odd sum: 30 This is posted on the website but the examples only give the "for" loop, not the "do while" loop.

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!