Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Soft_Uni_Varibles {
- public static void main(String[] args) {
- Scanner key = new Scanner(System.in);
- System.out.print("Start: ");
- int start = Integer.parseInt(key.nextLine());
- System.out.print("End: ");
- int end = Integer.parseInt(key.nextLine());
- for (int i = start; i <= end ; i++) {
- System.out.print((char)(i) + " ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement