Finally, I see the error of my logic, thanks for talking me through that one...:P
each total[][]++ has to have the first and second bracket manually. why I put i in there..I don't know.
---...
Type: Posts; User: Sfrius
Finally, I see the error of my logic, thanks for talking me through that one...:P
each total[][]++ has to have the first and second bracket manually. why I put i in there..I don't know.
---...
Norm does it have anything to do with the way it's declared?
I mean if it was a three dimensional it would be double[][][] array = {{{0,5}, {0, 6}}, etc};
You would access the variables in...
It doesn't need to find it. Both for loops start at position 0 and end at array.length. Temp and the if statements determine what counter variable needs to be added too. I don't see anything wrong...
Ok, I might have explained my problem very poorly. I have been working with java for 2 years, I don't usually change the values in an array. For this instance, I am....But it won't work....Arrays in...
The sales array holds 9 different sales of 9 employees.
The total array holds {counter, forAmount}
array at[0][select 0 or 1] 0 for counter 1 for amount.
so if i say total[0][0] It's...
No, the program compiles if you would like to view the error. The current output is.
$200.0-299.0 1
$300.0-399.0 1
$400.0-499.0 1
$500.0-599.0 1
$600.0-699.0 1...
The code compiles with no errors. It's not tabulating correctly.
All I want to do is figure out how much each employee made, tabulate the count and then display the count. I'm not sure what's going...
I realize this is an old post but my question is exactly the same. I read through this post and "Just think of mathematics" is not enough help for me.
All I want to do is figure out how much each...