Write a method: that displays the prompt string, reads an integer, and tests whether it is between

Question:

Write a method:

image text in transcribed

that displays the prompt string, reads an integer, and tests whether it is between the minimum and maxi mum. If not, print an error message and repeat reading the input.
Add the method to a class Input.

••

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: