i want to build a function that uses a scanner . once i type in a number , if the user types in an out of bound number i dont want java to show an error .
public static i