Question: C+ . Assignment #8 Steps to submit Complete the assignment #8 and place your work in Dropbox folder, W8- Dropbox Assignment. Make sure you turn

C+
C+ . Assignment #8 Steps to submit Complete the assignment #8 and
place your work in Dropbox folder, "W8- Dropbox Assignment". Make sure you

. Assignment #8 Steps to submit Complete the assignment #8 and place your work in Dropbox folder, "W8- Dropbox Assignment". Make sure you turn in your work in the following format: Last Name, First Name_A08.cpp e.g. - "Doe, John_A08.cpp" Make sure to place your name in the program before compiling. "This program was written by, John Doe." NOTE Your program must have a multiline commented Banner with your name, course number title, assignment number, Semester/year Program (all the statements) must be well-commented Program must be properly indented . Assignment #8 Description Write the necessary program in C++ that does the following: 1. Declares a whole number type constant value space called MAX_NUMBERS and Stores the value of 10 2. Declares a space called userinput to store user entered value 3. Declares a space called even Value Total 4. Declares a space called oddValue Total 5. Using a while repetition structure that runs MAX_NUMBERS number of times, a) Asks (prompts) the user to input a whole number by using the prompt "Enter a whole number: " on the screen, and after user entered the input, c) Reads the user's input value from the keyboard and Stores it at the userinput location d) Finds whether the value inputted is even or odd and accordingly add to either even Value Total or odd Value Total 6. Displays the separately the TWO total values calculated: total of all the even values, and total of all the odd values among the entered inputted values

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!