Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

The First Method This method that is called getMyID(), accepts no parameter and returns your student number. The return type must be string. Please make sure that you return a correct student number,...

1 answer below »
The First Method This method that is called getMyID(), accepts no parameter and returns your student number. The return type must be string. Please make sure that you return a correct student number, otherwise we are not able to calculate your grade. The method signature should look like below: public static String getMyID() The second Method This method accepts a double number, which represents a grade and returns the letter grade equivalent of the input. The letter grade is computed using the following table: Grade Percent Range A XXXXXXXXXX ? XXXXXXXXXXB XXXXXXXXXXB XXXXXXXXXXC XXXXXXXXXX ? XXXXXXXXXXD XXXXXXXXXXD XXXXXXXXXXE XXXXXXXXXXF
Answered 127 days After May 21, 2022

Solution

Robert answered on Sep 26 2022
63 Votes
Code:
Defining Homework class
public class Homework
{
Defining variables
static String MyID;
Defining first method getMyID()
public static String getMyID()
{
Returning the MyID
eturn MyID;
}
Defining second method getLetterGrade()
public static String getLetterGrade(double number)
{
Setting lettergrade...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here