package ch01;
import java.util.Scanner;
public class upper {
@SuppressWarnings("resource")
public static void main(String[] args)
{
String s;
System.out.print("请输入一个字母:");
Scanner sc=new Scanner(System.in);
s=sc.next();
if(s.equals("0"))
System.exit(0);
else
System.out.println("对应的大写字母是:"+s.toUpperCase());
}
}