Write a class Student.
Attributes: name, quiz average, homework average, lab average, final examBehaviors:
1. constructor, which takes the student name as input and always initializes the grades to zero.
2. setQuizAvg, which takes an input and sets the quiz average.
3. setHWAvg, which takes an input and sets the homework average.
4. setLabAvg, which takes an input and sets the lab average.
5. setFinalExam, which takes an input and sets the final exam.
6. grade, which calculates and returns the number grade. (quizzes are 20% of grade, homework is 25% of grade, labs are 30% of grade and the final exam is 25% of the grade).
7. accessors for the attributes.
Welcome to the boards. If you haven't already done so then please take some time to familiarise yourself with the faq:
Make sure you have a look at the the posting guidelines:
Following the rules will ensure you get a prompt answer to your question.
Remember, too, that the board has a search facility, a link is at the top of your screen:
It will often get you a quicker answer to your questions than waiting for a response to one you have posted.
If you have any questions about this you may ask or you can contact one of our forum leaders:
novice1, you didnt ask a question.
He's asking for homework help. In other words, he wants us to do his work.
i was being sarcastic. he didnt ASK a question.
novice1 notice how noone is helping due to the content of your post.
This ist not http:\\board.domyworkimalazybum.com. Please read the links posted above.