Question: four, five, six, seven, eight, nine ) If the Range exceeds 9 , and the number is even, then output even If the Range exceeds

four, five, six, seven, eight, nine)
If the Range exceeds 9, and the number is even, then output "even"
If the Range exceeds 9, and the number is odd, then output "odd".
Finally, the assumption is that the 1 st input 2nd input. So you do have to account for a case in which the 1st input is greater than the 2nd input (e.g.12 and 9). However, if you want the extra challenge, you can write your solution to address this type of scenario/"Edge Case". Otherwise, it's not required
To-Do:
Write a C++ program that prints the results of 2 given input numbers base on the rules defined above.
Sample Input 1:
Standard Input:
7
11
Sample Output 1:
seven
eight
nine
even
odd
Sample Input 2:
Standard Input.
7
 four, five, six, seven, eight, nine) If the Range exceeds 9,

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!