Question: Write a program that translates a letter grade into a number grade. Here are the specifications: - Letter grades are A, B, C, D, and

 Write a program that translates a letter grade into a number

Write a program that translates a letter grade into a number grade. Here are the specifications: - Letter grades are A, B, C, D, and F - Their numeric equivalents are 100,85,75,65, and 0 - Letter grades can be followed by a + or - - + will add 3 points and - will subtract 3 points (there is no A+ or F-) - Use a class Grade with a method getNumericGrade - Objects of this class will accept two arguments, a char for letter grade and char for +,, or '. - Tips: when getting input, use the Scanner class - Take input in as a String and use the length () method of the String class to determine if the input has a+,, or no +/- - Use the charat () String method to get the letter grade and +/- (if there is one) and put them in char variables - If the input did not have a + or -, you can manually save a space char instead ' ' into your char variable - Link to String class API: String Class - Use a GradeTester.java program to test your class

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!