public static void main(String[] args) throws IOException
{
//将键盘输入变成大写,然后打印到屏幕上
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter ps=new PrintWriter(System.out);
String ss=null;
while ((ss=br.readLine())!=null)
{
/*if ("over".equals(ss))
{
break;
}
*/
ps.println(ss.toUpperCase());
ps.flush();
br.close();
ps.close();
}
}
|
|