public class Solution { public static int[] firstArray = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; public static int[] secondArray = new int[]{10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; public static int count = 0; public static void main(String[] args) { //напишите тут ваш код int[] resultArray = new int[]{firstArray.length + secondArray.length }; for(int i = 0; i < firstArray.length; i++) { resultArray[i] = firstArray[i]; count++; for (int b = 0; b < secondArray.length; b++) resultArray[count++] = secondArray[b]; } for (int i = 0; i < resultArray.length; i++) System.out.print(resultArray[i] + ", "); } }