Simple question here:
I usually code in C++, but for this specific purpose, I am coding in java, so I'm pretty new to it. I am not sure how to switch over my syntax for this specific statement. Thanks for any help. The specific error is in 'int[] need[P][R], int[] maxm[P][R], int[] allot[P][R]', and reads as follows:
']' expected
';' expected
Any help with this small error would be great! Thank you!
int P = 5;
int R = 3;
public void calculateNeed(int[] need[P][R], int[] maxm[P][R], int[] allot[P][R]) { }