Hi, I've been stuck and completely lost on my
Java class program since yesterday and I cannot seem to figure out how to resolve these issues since these are just the beginning parts of the program. Can someone guide/hint to me what I need? I will be putting up the parts where I'm stuck at and giving some general information.
I have two classes, SalesStats and Divisions.
In SalesStats class, I have a main that creates a Division object. I'm not sure what the arrays are suppose to be.
I am to read a file and store the data into two dimensional arrays with a method called readValues(Divisions d). This method is to store the file into array d.
The file input is like this:
1234
2345
3456
4567
12345
23456
34567
45678
etc...
I need to set this up so that the arrays will read as 6 rows (divisions) and 4 columns (quarters).
Output will be:
Division1:
1234
2345
3456
4567
Division2:
12345
23456
34567
45678
etc..
Here is the method I'm stuck at:
In Divisions class I'm having trouble with setting div and qrt.
Sorry if this is confusing, I will try to clear the problem more if there's a question.
Thank you!