I am trying to use a user-entered number from the scanner in my code in multiple places. Below the line should be the same user-entered number as the first. Is this possible?
Scanner inputHere = new Scanner(system.in);
System.out.println("Please select me");
String inputHereOne = inputHere.nextLine();
System.out.println("----------------------------------");