+ 1
Urgent please need help
public double A(int[] data){ return 0; } } my question is how to input array index even number like {2,4,6,8,10,....} in this code with parameter array element n which 100>n>1 btw this is oop question so its dont have main yet
1 Réponse
0
run a loop to get even numbers something like this
for(int i = 0;i<100;i=i+2) {
}
now use i as index.