Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
can anyone help me with either one of this programs on how to like begin it im desperate......... 1. Define a java class called student. Each student has a name, a count of taken exams, and an average grade in those exams. At the beginning of the semester, we start with a count of 0 exams & an average of 0. The class should have 3 methods, plus of the constructor: 2. Write another Java program that reads information for an unknown number of students in a course section. For each student, read the student's name and a series of test grades for that student. Use -1 as a sentinel to end the test grades for an individual student. Using the Student class, print the name and calculate and print the average of the test grades for each student. Additional requirements: Use the following test data, which you can reformat: John Smith 90 85 80 95 -1 |
Sponsored Links
|