Exercise 3.2.9: Rating 5 points Let's Go! The Rater class represents a rating system for a company. The company is rated on a scale of 1-5. The toString representation changes based on how well rated the company is. Suppose we have a company called "Tina's Tires". • If its rating is less than two, toString would return "Not Recommended Company Tina's Tires" • If its rating is over 3.5, toString would return "Gold Star Company Tina's Tires" • Otherwise, toString would return "Well Rated Company Tina's Tires" Remember, once a return statement is executed, the rest of the method is skipped. Therefore, if you return a string in an if statement, the remaining if statements will not be tested. The other method you need to fill in is setRating. The rating should only be changed if the new rating is 5 or less. After you fill in Rating, main should produce the following output. Note that main runs several test cases to check all of the conditions of the program! We need to make sure to test every line of code! Current Rating: 2.0 Well Rated Company Jr Cookery Current Rating: 4.5 Gold Star Company Ir Cookery Current Rating: 4.5 Gold Company Jr Cookery Current Rating: 1.0 Not Recommended Company Jr Cookery Exercise 3.3.5: Positive or Negative 5 points Let's Go! Write a program that asks the user for a number. Use an if-else to determine if the number is positive or negative. A number will be considered positive if it is greater than or equal to 0. Otherwise, it is considered to be negative. If it is positive, print "The number is positive!" If it is negative, print "The number is negative!" Very, very small technicality: zero is neither positive nor negative. We'll consider it positive for this problem. Exercise 3.3.7: Ratings 6 points Let's Go! Let's look at the Rater class again. The Rater class represents a rating system for a company. The company is rated on a scale of 1-5. This time, there is an additional instance variable - review. This variable is set based on the company's current rating. The updateReview method updates review. If the company is rated 3 or more, the company's review would say "Proudly recommended". Otherwise, the review will say, "Needs more ratings" The toString method returns the name of the company followed by its review. For example, it might say Tina's Tires : Proudly recommended. Update the toString method to match that format. The last method you need to fill in is setRating. The rating should only be changed if the new rating is 5 or less. This is the same as the last time you saw this class Main In main, create a Rater object. Set its rating to something less than 3. Call updateReview, then print out the object. Use setRating to set the rating to something between 3 and 5. Call updateReview again, then print out the object. This will let you test both branches of your if-else statement! If you'd like to look at the code that you wrote from the previous assignment you can go here: https://codehs.com/editor/1722952/6165/ Exercise 3.3.8: Player Score 6 points Let's Go! Write a program that asks for the name and number of points scored by two basketball players. Print out the player's scores in alphabetical order according to the player's names. Use the String method compareTo. Refer to the DOCS if you've forgotten how to use it, or to the JavaDocs here: https://docs.oracle.com/javase/7/docs/api/java/lang/String.html Then print which player scored more points. Here is some example output: Enter player one's name: Tracy Enter player two's name: Karel Enter Tracy's score 13 13 Enter Karel's score 20 Karel scored 20 points Tracy scored 13 points Karel wins!