Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A constructor that clears the student data (use -1 for unset grades) Get functions for items a, b, and c, average, and letter grade Set functions for items a, n, and c Note that

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

please help me in writing pseudocode for this project.

  1. Need a class which will contain:
    1. Student Name
    2. Student Id
    3. Student Grades (an array of 3 grades)
    4. A constructor that clears the student data (use -1 for unset grades)
    5. Get functions for items a, b, and c, average, and letter grade
    6. Set functions for items a, n, and c
    7. Note that the get and set functions for Student grades need an argument for the grade index.
  2. Need another class which will contain:
    1. An Array of Students (1 above)
    2. A count of the number of students in the use
  3. You need to create a menu interface that allows you to:
    1. Add new students
    2. Enter test grades
    3. Display all the students with their names, ids, test grades, average, and letter grade
    4. Exit the program

 

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Array
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT