Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- class Main {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- int n1 = Integer.parseInt(scanner.nextLine()),
- n2 = Integer.parseInt(scanner.nextLine());
- for (int i = n1; i <= n2; i++) {
- System.out.printf("%c ", i);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement