My problem is, that it doesnt work...i just want add two arrays and save it to the new array. And i dont know how i can use this function with the specific numbers ?
Type: Posts; User: vviston
My problem is, that it doesnt work...i just want add two arrays and save it to the new array. And i dont know how i can use this function with the specific numbers ?
public static int[] arrayAdd(int[] p, int[] q) {
for (int i = 0; i < p.length; i++) {
for (int j = 0; j < q.length; j++) {
int add [] = p[i] + q[j];...