Question: how to write this program
Write a program in java which calculates a student√Ę‚?¨‚?Ęs overall gpa for a semester and then displays a student√Ę‚?¨‚?Ęs GPA. This program should take a student√Ę‚?¨‚?Ęs First Name, Last Name a GPA and number of credit hours for 6 courses. The program should then calculate the over GPA for the term and display it as well as the students first name and last name. The formula for cumulative GPA is: (Class1Hours * Class1GPA + Class2Hours *Class2GPA +√Ę‚?¨¬¶ +Class6hours * Class6GPA) / Total Hours For this program, assume the user is entering the GPA for the course and not a letter or numerical grade. You will be submitting TWO versions of this program. Write one version using the scanner object input method and one using the input box input method. Both programs should be in the same ZIP file.