Question: EET-110 COMPUTER APPLICATIONS Assignment #6 Write a complete C++ program that writes your name and Programming Assignment #6-An odd program to the screen. This program
EET-110 COMPUTER APPLICATIONS Assignment #6 Write a complete C++ program that writes your name and "Programming Assignment #6-An odd program" to the screen. This program will ask user to enter two integers and a choice between "sum of all odd numbers" and "sum of all even numbers" in between two integers the user entered. 1. Ask user to enter the starting integer. 2. Ask user to enter the ending integer. 3. Ask user to select either sum of odd numbers or even numbers. 4. Calculate and display the sum of odd or even numbers according to the user input. 5. Ask user whether to run the program again or not. If user wants another run, the program should repeat the process. Otherwise, quit the program For output display use the scores from the examples below: Example: Enter the strarting integer: 1 Enter the ending integer: 188 Please select one of the following: 1. Sun of Odd nunbers. 2. Sun of Even nunbers. Please enter your selection (1 or 2): 1 The sun of all odd integer is 2588 Enterthestrarting integer: 5 - Enter the ending integeri 208 . Sun of Odd nunbers Sun of Even nunbers lease enter your selection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
