Question: IST 240-- 03 Assignment Do not use arrays!!! Everything in the picture must be included in the code! Do not add anything extra!!! Read carefully,
IST 240-- 03 Assignment
Do not use arrays!!! Everything in the picture must be included in the code! Do not add anything extra!!! Read carefully, this assignment is not finding the max and min gpa for the students. You must also have a total of 8 students at the end of the assignment, not 4!
- has a student class
- You will need a version of student.java that has a working semesterGPA( ) method as specified in the last assignment
- very important:
- for this lab it is important that you run semesterGPA() just once
- very important:
- You will need a version of student.java that has a working semesterGPA( ) method as specified in the last assignment
- has a group class
- group has a name
- group has 4 students
- group has at least 2 methods
- A method that displays the group name and the name of each student in the group
- A method that calculates and displays the average GPA of a group. Group average GPA is the average of all the group members' (students') GPA.
- group GPA starts in student using the student GPA attribute.
- in app.java (the class with the main method)
- create 4 student objects
- create a group object g1 using the 4 student objects above
- Using the group object (instance, variable) in app.java:
- Display the group name, and information about each student in the group
- Display the group average GPA
- Display the semesterGPA of the third student in the group (retrieving information from the student class variables in the group, not from student variables in the app).
- Pay attention, you have to use the group object (instance, variable) in app.java
- Something like System.out.println(g1.______________);
- repeat the same process for another group object g2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
