public class test2
{
public static void main (String[]args)
{
char a ='α';
char b ='ω';
while (a <= b )
{
System.out.println("希腊字母:"+a);
a++;
}
char A = 'Α';
char B = 'Ω';
while (A < B)
{
System.out.println("希腊大写字母"+A);
A++;
}
}
}
JAVA课程2作业写出所有希腊字母
最新推荐文章于 2024-05-03 17:06:47 发布