package day5
;
public class shuzu4
{
public static void main(String
[] args
)
{
char[] letters
= new char[26];
for(int i
=0; i
<letters
.length
; i
++)
{
letters
[i
] = (char)('a'+i
);
}
for(int i
=0; i
<letters
.length
; i
++)
System
.out
.println(letters
[i
] + "->" + (char)(letters
[i
]-32));
}
}
转载请注明原文地址:https://tech.qufami.com/read-5165.html