int[] fillArray(int[] array,int x){ for(int i = 0;i < array.length;i++){ array[i] = x; } return array; }