Conditional statements in Java.
Requirements:
There are two files provided for this assignment. GuessingGame.java contains the class you are required to complete. It contains one method/function (plus a main method). At the top of the method is documentation that indicates what the method should do. Update the code in the method to meet the requirements.
Make sure that messages printed to the console meet the requirements exactly. The test is case sensitive and does not tolerate typos or extra white space.
To test your solution, you’ll need to run the JUnit test. Once you’ve created your file with the required code your can compile and run the test. Use the following steps:
Please do not change the original format of the java file. Follow the instruction, that was given in the comment (in java file). Provide a screenshot that it worked in JUnit test.