Lab 7: Modified by Hemal Khatri While loop Write code to do the following: The program asks the user if they want the following line to be printed: "I love this lab" The user enters either 'y' for yes and 'n' for no. Example output: Do you want me to print the line? [y] I love this lab Do you want me to print the line? [y] I love this lab Do you want me to print the line? [y] I love this lab Do you want me to print the line? [n] Create a single file named "WhileLoop.java" and write all the statements inside the main method. /*---------------------------------------------------------------------------*/ Do loop Modify the above program: The program prints the line and then asks the user if they want the line to be printed again. The user enters either 'y' for yes and 'n' for no. To implement this, use a do loop instead of a while loop. Do not simply add a System.out.println() to the beginning of the previous program. Example output: I hate this lab Do you want me to print the line again? [y] I hate this lab Do you want me to print the line again? [y] I hate this lab Do you want me to print the line again? [n] Create a single file named "DoWhileLoop.java" and write all the statements inside the main method.