Problem Description
从键盘上输入一个小写字母,然后将小写字母装换成大写字母输出!
Input
从键盘上输入一个小写字母。
Output
小写字母装换成大写字母输出。
Example Input
a
Example Output
A
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader = new Scanner(System.in); String a; a=reader.next(); String b; b=a.toUpperCase();//字母小写变大写 System.out.println(b); } }