Question: Write a java program that prints students name, grades and GPA. You must do the following requirements: Create three methods: First method to accept and

Write a java program that prints students name, grades and GPA. You must do the following requirements:

Create three methods:

First method to accept and print your first, last name, and GPA.

Second method to accept and print your grades of three courses (type: int)

Third method to overload the second method (types: double). The method must print your grades.

Call the three methods you created above in your main method.

Create a method without parameters that would return only your GPA. The method should be named with your last name followed by GPA (e.g., AlwalledGPA()).

Declare a double variable that holds the returned value of the last method you created.

Print the value of your GPA variable.

Note:

The class name of your Java program must be your first name. >>>>> Name/ Zakaria

Your answer should have the code as text as well as the screenshot of the program output (using your own name) as a part of your answer. Otherwise, zero marks will be awarded.

Write a java program that prints students name, grades and GPA. You

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!