Untitled
unknown
plain_text
3 years ago
259 B
6
Indexable
import java.util.Scanner;
public class Lab2
{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = Integer.parseInt(scanner.nextLine());
for (int i = n ; i >= 1; i--) {
System.out.println(i);
}
}
}
Editor is loading...