Question: C++ using loops Range Sum - Even / Odd #Brady: Write a program to sum up either all the even numbers or all the odd
Range Sum - Even / Odd #Brady: Write a program to sum up either all the even numbers or all the odd numbers from 0 to N where you will prompt the user for the word 'even' or 'odd' and the value of N. Test your program with 'even values to 190' then with 'odd to 155'. You will enter the word 'even' or 'odd' and a value for N. Print results of the sum. Sterking value changes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
