Answered step by step
Verified Expert Solution
Question
1 Approved Answer
use c++ please Program #l: Write a program named Exam2Program1 that prompts th she wishes to enter, then asks her to enter that many integers.
use c++ please
Program #l: Write a program named Exam2Program1 that prompts th she wishes to enter, then asks her to enter that many integers. The programt user's even integers and the sum of the user's odd sums are equal, you should display a special message noting this fact, as shown below in the third sample e user to say how many integers then displays the sum of the d integers, with the greater sum displayed first. But if the Three sample runs are shown below. Your prompts and outputs should look exactly like this (spelling. punctuation, spacing, number format, and so on). Sample Run #1 How many integers would you like to enter? 6 Please enter your 6 integers: 3 12 10 29 8 4 The sum of your even integers is 34 The sum of your odd integers is 32 Sample Run #2 How many integers would you like to enter? Please enter your 4 integers: 3 12 5 29 The sum of your odd integers is 37 The sum of your even integers is 12 Sample Run #3 How many integers would you like to enter? 7 Please enter your 7 integers: 2 6 2 72 49 The sum of your odd integers is 16 That's the same as the sum of your even integers TH ER SIDE OF THIS SHEET FOR PROGRAM #2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started