Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * --- Student Grade Book Application ---
- * Keep track of students (with a student class that has their name, average, and scores) in a class and their grades.
- * Assign their scores on tests and assignments to the students and figure out their average and grade for the class.
- * For added complexity put the students on a bell curve.
- */
- // I think this will require multidimensional arrays
- public class application {
- public static void main(String[] args) {
- Student student1 = new Student();
- student1.setName("Bob"); // Should the name of the student be declared here with a setName?
- student1.setTestScore1(80);
- student1.setTestScore2(60);
- student1.setFinalExamScore(90);
- student1.calculateEntireAverage();
- System.out.println(student1.calculateEntireAverage() + "%");
- }
- }
Add Comment
Please, Sign In to add comment