Write a Student class which keeps track of grades and generates a final mark. You should store: 3 quiz scores, an array of int between 0 and 20; 1 midterm score, an int between 0 and 50; 1 final score, an int between 0 and 100; the overallScore (double) and letter grade (char). also create the appropriate accessor and mutator methods. Student should also include the methods: public void calculateOverallScore() { ... } Quizzes are worth 15% of the grade, Midterm is worth 35% of the grade, the Final is worth 50% of the grade. public void finalLetterGrade() { ... } 100 ~ 90: A 90 ~ 80: B 70 ~ 80: C 60 ~ 70: D 0 ~ 60: F

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

Please help with the following:

Write a Student class which keeps track of grades and generates a final mark.

You should store:
3 quiz scores, an array of int between 0 and 20;

1 midterm score, an int between 0 and 50;
1 final score, an int between 0 and 100;
the overallScore (double) and letter grade (char).

also create the appropriate accessor and mutator methods.

Student should also include the methods:

public void calculateOverallScore() { ... }

Quizzes are worth 15% of the grade, Midterm is worth 35% of the grade, the Final is worth 50% of the grade.

public void finalLetterGrade() { ... } 100 ~ 90: A

90 ~ 80: B

70 ~ 80: C

60 ~ 70: D

0 ~ 60: F

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Passing Array as Argument
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,