# 7 – L3   Assume you have a double variable named windSpeed…

# 7 – L3   Assume you have a double variable named windSpeed that you received as input from the user. You need to pass this value to a method called windChecker, which does not return anything. Write the code to do the following:     1.    Define a method named windChecker that accepts windSpeed as a parameter.    2.    Inside the method, define a String variable named status.    3.    Implement the logic for the flowchart inside the method.    4.    After implementing the flowchart logic, print the value of the status variable to the console.      

#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");