摘要: import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.prin 阅读全文
posted @ 2022-05-15 22:54 Scenery_Shelley 阅读(356) 评论(0) 推荐(0)
摘要: import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ int cardNumber = (int)(Math.random() * 100) % 13; int c 阅读全文
posted @ 2022-05-15 22:43 Scenery_Shelley 阅读(87) 评论(0) 推荐(0)
摘要: 点是否在圆内 import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.o 阅读全文
posted @ 2022-05-15 14:48 Scenery_Shelley 阅读(40) 评论(0) 推荐(0)
摘要: 泽勒一致性 import java.util.*; import javax.swing.*; class Main { public static void main (String[] args){ Scanner input = new Scanner(System.in); System.o 阅读全文
posted @ 2022-05-13 12:57 Scenery_Shelley 阅读(40) 评论(0) 推荐(0)
摘要: import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.prin 阅读全文
posted @ 2022-05-13 12:21 Scenery_Shelley 阅读(39) 评论(0) 推荐(0)
摘要: 猜一次 import java.util.*; class Main { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.print("scissor(0), roc 阅读全文
posted @ 2022-05-13 11:37 Scenery_Shelley 阅读(34) 评论(0) 推荐(0)
摘要: 使用System.currentTimeMillis()方法 public class HelloWorld { public static void main(String []args) { long totalMilliseconds = System.currentTimeMillis(); 阅读全文
posted @ 2022-05-13 10:44 Scenery_Shelley 阅读(110) 评论(0) 推荐(0)
摘要: 生成输入框 String numberString1 = JOptionPane.showInputDialog("Enter the first number: "); 生成消息框 JOptionPane.showMessageDialog(null, number1 + " <= " + num 阅读全文
posted @ 2022-05-11 15:47 Scenery_Shelley 阅读(25) 评论(0) 推荐(0)
摘要: ax^2 + bx + c = 0 import javax.swing.JOptionPane; import java.util.*; class Main { public static void main(String[] args){ Scanner input = new Scanner 阅读全文
posted @ 2022-05-11 14:54 Scenery_Shelley 阅读(34) 评论(0) 推荐(0)
摘要: [0,20) [10,20) [10,50] import javax.swing.JOptionPane; import java.util.*; class Main { public static void main(String[] args){ int number = (int)(Mat 阅读全文
posted @ 2022-05-11 13:04 Scenery_Shelley 阅读(34) 评论(0) 推荐(0)