Management homework help

The application will run forever, you will ask the user to continue or not.
create a function IsinRange() to test a value between two ranges like this;
Here is the spec in pseudocode
IsInRange(lr, hr, n) lr = low range
hr = high range
n= number