Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
421 B
340
Indexable
Never
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in); 
		char a = sc.next().charAt(0);  
		char b = sc.next().charAt(0);  
		
		for(char i = a; i <= b; i++) { 
			String res = String.valueOf(i); 
			System.out.print(Up(res) + " ");
		}
	}  

	public static String Up(String a) {
		String b = a.toUpperCase();
		return b;
	}
}