Read numbers between 1 and 5, then print the minimum and maximum
If you make the Scanner object outside of the prompt method and use that object in the prompt method when you want to get an input then you won't be creating a new instance of Scanner every time you call the prompt method.