Question: Introducing JOptionPane. The Learning Goal for this exercise is to interact with a user with JOptionPane and use that instead of Scanner for user input

Introducing JOptionPane.

The Learning Goal for this exercise is to interact with a user with JOptionPane and use that instead of Scanner for user input and output.

PowerShell or Terminal is not a standard way that users interact with programs. Windows and dialog boxes are very natural. JOptionPane will allow you to get information to and from a user.

Create a Calculator that will calculate the grade in this course.

_Create a Java Program that can calculate your final grade based on:

_Attendance 10% (In order to receive any attendance credit, you must earn at least 6 of the 10 points.), Weekly quizzes 10%, weekly class assignments 10%, lab 10%, project1 20%,project 2 20%, homework 40% ...The grading scale expected to be used is: A >= 90% > B >= 80% > C >= 70% > D >= 60% > F... Late work will receive a 30% reduction.

_Use a dialog box to welcome the user and tell them what the program does.

_For Attendance, enter the points earned, from 0-13, but follow the rules for no points if less than 6 points are earned.

_For gather quizzes, use the average of the quizzes from 0-10

_For all other categories, use a 0-100 scale for the total grade in that category (not individual grades) and then weight it just as described in the syllabus.

_Each click of OK will enter the grade being asked for and move to the next grade.

_When asking for a grade, include what the grade is for and then give the expected range as an example.

_After all grades are entered, display the numeric grade with 2 decimal places. example 92.54 and the letter grade earned.

_Accept user input and display output through JOptionPanes - do not use System.out.print...

_Use the javac command to compile your code.

_Use the java command to evaluate the results of your code.

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!