Answer both of the following questions and submit your solutions using Web-CAT. Unit tests are provided for each question. These are the same tests that will be used by Web-CAT.
You must work entirely on your own. You may not use your textbook or the internet. You may compile and execute your solutions. It is possible to receive partial credit even if the code you submit does not pass all tests. Passing all tests does not guarantee that you will receive full credit: your code should be clear, well organized, and consistent with the instructions.
Submit QuestionOne.java
through Web-CAT.
Download the following two Java files and complete the unfinished method in QuestionTwo.java. Your solution must be recursive. No loops are allowed.
Submit QuestionTwo.java
through Web-CAT.