#8 – L1 From the code below, what value for userInput causes…
#8 – L1 From the code below, what value for userInput causes “The while loop has finished” to be printed to the console? Scanner sc = new Scanner(System.in);int userInput = sc.nextInt(); while (userInput < 5) { // do something userInput = sc.nextInt(); }//end while System.out.println("The while loop has finished");