📄 application1.java~2~
字号:
package numgame;import javax.swing.UIManager;import java.awt.*;import java.io.*;public class Application1 { //Main method public static void main(String[] args) throws IOException { final long num=18678902; int n=(int)(num%14); switch(n){ case 1: System.out.println("the person is A ."); break; case 2: System.out.println("the person is B ."); break; case 3: System.out.println("the person is C ."); break; case 4: System.out.println("the person is D ."); break; case 5: System.out.println("the person is E ."); break; case 6: System.out.println("the person is F ."); break; case 7: System.out.println("the person is G ."); break; case 8: System.out.println("the person is H ."); break; case 9: System.out.println("the person is G ."); break; case 10: System.out.println("the person is F ."); break; case 11: System.out.println("the person is E ."); break; case 12: System.out.println("the person is D ."); break; case 13: System.out.println("the person is C ."); break; case 14: System.out.println("the person is B ."); break; } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -