Question: Write a program that prints out the Average Score (GPA) for a student. The program asks user the students name, number of courses and then

Write a program that prints out the Average Score (GPA) for a student. The program asks user the students name, number of courses and then ask marks for each course (out of 100). At the end print out a pretty message with Student Name, Number of course and GPA. GPA is defined as sum of all the course scores divided by number of courses for the student. The Maximum Score a student can achieve on any course is 100. This program should ask the user for more students and only end printing output once the user says no more input.

GPA Formula GPA= Total Sum of all Scores / (Total Number of Courses)

Note: For input/output, you must use the JOptionPane class. For this lab only, you may assume the user will only enter in valid information. For example, you do not need to account for a negative number of minutes used. Printed GPA scores must be formatted to two decimal places.

use JOptionPane and IF ELSE and LOOPS and that's all.

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!