# solution

To encourage good grades in MIS, we decided to award each student a bookstore credit that is 10 times the studentâ€™s grade point average.

.

In other words, a student with a 3.2 grade point average receives a \$32.0 credit

Create an new project in IntellijIDEA using java

In the project, write an application that

.

1) In the Main method prompts a student for a name and grade point average

a. and then passes the 2 values to a static method (computeCredit) that displays a descriptive message.

b. The message uses the studentâ€™s name, echoes the grade point average, and computes and displays the credit.

An example of the output is shown below:

2) In the same Main method also prompts a student for a name, grade point average, and semester

a. And then overload the static method (computeCredit) by passing in the 3 values.

b. In the computeCredit that hold the 3 values

i. Create a new constant that holds the integer 10 1. Use this constant to multiply with the grade point average to get the credit

c. If the studentâ€™s GPA is < 2.0 i. Output the studentâ€™s name, semester, echoes the grade point average, computes and displays the credit, print â€˜your GPA need improvementâ€™

d. If the studentâ€™s GPA is > 2.0 i. Output the studentâ€™s name, semester, echoes the grade point average, computes and displays the credit, print â€˜your GPA is above averageâ€™

e. If the studentâ€™s GPA is = 3.0 i. Output the studentâ€™s name, semester, echoes the grade point average, computes and displays the credit, print â€˜your GPA is a Bâ€™

An example of the output is shown below: