Question: Exercise: Write a program that perform different operation. The user will enter two integer numbers: firstNum and secondNum (first number must be less than the
Exercise: Write a program that perform different operation. The user will enter two integer numbers: firstNum and secondNum (first number must be less than the second number) 1. 2. 3. 4. The user can repeat any of these operation until he choose 4, If the user choose 1, the program will print the sum of all the numbers between the first number and the second number. If the user choose 2, the program will display the even number and the odd number between the two entered numbers. If the user choose 3, the program will display the average of all numbers between the two numbers. then he will stop the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
