public static void count(int counter) { for(int i = 10; i > 0; i-=counter){ System.out.println("i = " + i); } }