Write a program to compute the cumulative gpa

Assignment Help JAVA Programming
Reference no: EM13781396

This program will compute the cumulative GPA based on user input.  This program will use dialog boxes with the JOptionPane class as well as the console to send/receive information to/from the user.

1.       Use a dialog box to ask the user how many grades they would like to enter.

2.       Print out the term number (automatically starting out at Term 1 the first run through the program)

3.       Prompt the user for the course name, the number of credits, and the grade using 3 separate dialog boxes.























a.       Standard letter grades and corresponding points:

b.       As you receive the course information, write this information to the console.

4.       Once the user has input all of their course data calculate the term GPA and update/calculate the cumulative GPA. (Hint: where you declare these variables, inside or outside loops, will affect their functionality)

5.       Output the GPA to the user using the console (see output below).

6.       Ask the user if they would like to continue with another term.

a.       If the user would like to enter another term into their cumulative GPA calculation, go through the same process as above using appropriate loop structures.

b.       If the user would not like to enter another term of courses,display the number of gold stars earned. Thank the user appropriately on the console.

7.       Example output at the end of the entire program (if 2 courses were entered each for 2 separate terms). Format credits to print out to onedecimal accuracy and GPA's totwo decimal place accuracy (hint: printf).

Term 1

Multi, 3.0, B+

Diff Eq, 3.0, A-

Term GPA: 3.5

Cumulative GPA: 3.5

Term 2

Morals and Ethics, 3.0, A

Physics, 4.0, B-

Term GPA: 3.26

Cumulative GPA: 3.37

Gold Stars Earned:

Reference no: EM13781396

Previous Q& A

  Students with severe and multiple disabilities

Visit a program for students with severe and multiple disabilities. During the interview with teachers and staff, discuss the following topics:

  Create at least two vectors and demonstrate the use of each

Create a separate class, VectorTest, that will demonstrate the use of your Vector class. You must create at least two vectors, and demonstrate the use of each method. When you demonstrate the use of each method, print the results to the console ..

  Discriminatory belief or phobia

Pretend you are a racist, you have this discriminatory belief or phobia. Explain what is being racist? Include an example and explain how it is NOT practicing higher-level thinking. (Intro paragraph)

  Create the investment calculator

Create the following GUI that allows a user to calculate the value of an investment after a certain number of years with monthly compound interest.

  Organizing function of management

Prepare a 1,050- to 1,400-word paper in which you evaluate the organizing function of management as it relates to at least two of the following organizational resources:

  Effective brand name creation

Discuss ten characteristics of effective brand name creation. Then, locate three established brands that meet at least five of the listed characteristics. Explain why you think these brands meet the selected five criteria. Support your choices wit..

  Problem related to the constitutional provisions

Prepare a 750-1,000-word paper that describes how the Arizona Constitution affects counties, municipalities, corporations, and schools. By way of conclusion, discuss the enduring impact the people in Arizona have had in determining the overall dir..

  Problem related to the arizona constitution

Create a chart or matrix summarizing the powers and functions of the three branches of Arizona's government: List each branch of government, and identify the powers and functions of each branch. Bullet points may be used.

  Start with an entry point for the service

Use the case study material as a requirement. We will concentrate improving services that were built in project 3 by adding the following:

  Create and analyze a self-designed fictitious study

For this activity you will undertake an analysis based on a self-designed fictitious study that utilizes statistical methodologies. You will first develop a fictitious problem to examine - it can be anything


Write a Review


Similar Q& A

  Start developing java code to ask questions

You are ready to start developing Java code to ask questions on customer information and the sub that customers want to order. You are only concerned with the functionality to request and provide feedback on what the customer entered

  Write down the java code for the bank

Write down the java code for the bank of Fraud. User is presented with menu which looks something like this: 1. Deposit 2. Withdrawal 3. Check Balance 4. Exit.

  Write a blog article for a codingtechnical community

write a blog article for a codingtechnical community blog.the theme is general c or java. choose any subject under this

  Create a class representing a student

Create a second class that instantiates the first class with information about yourself. In the second class, create a class method that displays your name and GPA.

  Write a function which takes two string variables

Write a function which takes two string variables not C strings as inputs and compares them. If they are equal, the function should return 0. If the first-string is less than the second string, return a negative number. If the first string is grea..

  Write code that prompts the user to enter a string

Write code that prompts the user to enter a string containing ONLY a series of digits, then complete all of the following operations:

  A remote web-based file storage application

Develop a web-based application. The server-side part of the application must be developed using Java Servlets (possibly including JSP). The development of the client (browser) side will typically be a combination of HTML and Javascript.

  Write the classic arcade game of breakout

For each instance variable in your program, explain why you chose to make it an instance variable rather than a local variable - How did you test whether the game would end correctly in this second case? Did you make any changes to the code when test..

  Write a java application program called largest.java

Write a Java application program called Largest.java that inputs a series of 10 single-digit numbers and determines and prints the largest of the numbers

  Determines the surface area and volume of a hemisphere

Write an application that reads determines the surface area and volume of a hemisphere and then calculates the radius given a surface area and volume.The first step is to read in the radius from the users and then calculate the surface area and vo..

  Integers as a parameter and returns the number

Write a method maxOccurrences that accepts a list of integers as a parameter and returns the number the number of times the most frequently occurring integer

  Write java program that writes names to text file

Create an empty text file called myfile.txt. Write a Java program that writes your names to the text file created. If the file does not exist, include an exception handler for that error.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd