Question: Problem 3 (5 points) Write a C++ program that prompts the user for two integer numbers that define an interval. Then your program should prompt

Problem 3 (5 points) Write a C++ program that prompts the user for two integer numbers that define an interval. Then your program should prompt the user for a third integer. Your program will then output whether the third number falls within the interval(inclusive) defined by the first two numbers. The output will look like this: Enter an integer number : 10 Enter an integer number : Enter an integer number to test the interval : 5 5 falls in the interval from 3 to 10 Enter an integer number : Enter an integer number : 10 Enter an integer number to test the interval : 15 15 falls outside the interval from 3 to 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
