下列程序中,若从键盘中输入的是大写字母C,则程序输出的结果是( )。
Importjava.io.*;
public class Exam{
public static void main(String args[]){
int ch=0;
System.out.println("输入一个字符:");
try{
ch=System.in.read();
charch_A=\'A\',ch_Z=\'Z\';
int delta c=(int)ch A+(int)ch Z-ch;
syStem. out.println("编码后的字符为:"+(char)delta_c);
}
catch(IOException e){
printStackTrace();
}
}
}
A campus emergency ______ occur at any time of the day or night, weekend, or holiday, with little or no warning.
免费的网站请分享给朋友吧