package ch02;
import java.util.Scanner;
public class Test2_9 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		char c1, c2, c3, c4;
		String s1, s2;
		System.out.println("请输入一个小写字符！");
		s1 = sc.next();
		c1 = s1.charAt(0);
		c3 = (char) (c1 + 1);
		System.out.println("请输入一个大写字符！");
		s2 = sc.next();
		c2 = s2.charAt(0);
		c4 = (char) (c2 + 1);
		System.out.println(c1 + " " + c2 + " " + c3 + " " + c4);
	}
}
