Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

c. Will leaders rotate periodically?

Answered: 1 week ago

Question

b. Will there be one assigned leader?

Answered: 1 week ago

Question

d. How will lack of trust be handled?

Answered: 1 week ago