Java считается 10
public static void count(int counter) {
for(int i = 10; i > 0; i-=counter){
System.out.println("i = " + i);
}
}
Grieving Gannet
public static void count(int counter) {
for(int i = 10; i > 0; i-=counter){
System.out.println("i = " + i);
}
}