请用循环语句,输出26个小写,大写字母,10个数字字符
请用循环语句,输出26个小写、大写字母、10个数字字符输出如图用getchar()和putchar()...
请用循环语句,输出26个小写、大写字母、10个数字字符
输出如图
用getchar()和putchar() 展开
输出如图
用getchar()和putchar() 展开
2个回答
推荐于2017-10-13
展开全部
public static void main(String[] args) {
String[] ch={"q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m"};
String[] ch2={"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"};
for(int k=0;k<26;k++){
System.out.print(ch[k]);
}
System.out.println();
for(int j=0;j<26;j++){
System.out.print(ch[j]);
}
System.out.println();
for(int k=0;k<10;k++){
System.out.print(k);
}
}
String[] ch={"q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m"};
String[] ch2={"Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M"};
for(int k=0;k<26;k++){
System.out.print(ch[k]);
}
System.out.println();
for(int j=0;j<26;j++){
System.out.print(ch[j]);
}
System.out.println();
for(int k=0;k<10;k++){
System.out.print(k);
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询