На выходе 23 и пишет примените неск. команд декремента! Так я уже их применил!
package com.javarush.task.pro.task02.task0205;
/*
Когда-то было 32 зуба
*/
public class Solution {
public static void main(String[] args) {
int toothCounter = 32;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
toothCounter = --toothCounter;
//напишите тут ваш код
System.out.println(toothCounter);
}
}