public void task1() { int [] mas = new int[20]; int sum=0; for (int i = 0; i