Hi I am trying to write a code for an assignment where you have a constant resistance and increasing current, then calculate power. I wanted to put all the data into an array just to make it neat and simple. But I am struggling to fill it, I have no idea on the syntax to use, but I have initialized the array, I think. Honestly anything would help, thanks!
package assignment_10_18_2018;
public class lab_10_18_2018_a {
public lab_10_18_2018_a() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// TODO Auto-generated method stub
final int LENGTH_FOR_CURRENT = 11 ;
int resistance = 10 ;
int[][] circuitArray = new int [10][3];
for(int i = 0; i < 10 ; i++) {
for(int r = 0; r < ...; r++) {
circuitArray[i][r] = ...;
}
}
}
}