Yes we are, haha.
Ok, so basically...If The user enters the the marks for the first subject.... (example: 20, 30 and 40)
The enters the marks for the second subject ( example 50, 60 and 70);
...
Type: Posts; User: melki0795
Yes we are, haha.
Ok, so basically...If The user enters the the marks for the first subject.... (example: 20, 30 and 40)
The enters the marks for the second subject ( example 50, 60 and 70);
...
I need that it works out the addition of both arrayLists of the subject together. SO i can work out an overall average.
Example: I'm malcolm, and I have 2 subjects... English and Maltese. I need...
The user must... enter name, surname student number.... thats one class...
then it asks him to enter marks for hw and exams for one subject, so thats an instance of subject...in array sub...
...
still cannot get it... this is my full class...
import java.util.ArrayList;
public class Subject
{
int subjectNumber;
ArrayList<Double> homeworkMark;
ArrayList<Double>...
At this point I have one instance of "student".. If the student adds more than one subject, I need to add the homeworkMark of both instances of "student"... Lets say I have
A student who decides...
Hi, I have 3 classes in My Program. One is the Main class, another class for students and another class for the subjects and their marks, which are store in arrayLists....
When the student enters...