Код: Выделить всё
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int number = Integer.valueOf(scanner.nextLine());
printFromNumbertoOne(number);
}
public static void printFromNumbertoOne(int number) {
for (int i = number; i > 0; i--) {
System.out.println(i);
}
Код: Выделить всё
Method printFromNumberToOne(int) of class FromParameterToOne missing
Подробнее здесь: https://stackoverflow.com/questions/633 ... ne-missing
Мобильная версия