摘要:
使用while循环实现 import java.util.*; class Main { public static void main(String[] args){ //Create a Scanner Scanner input = new Scanner(System.in); //Read 阅读全文
posted @ 2022-05-17 16:49
Scenery_Shelley
阅读(33)
评论(0)
推荐(0)
摘要:
import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ int number = (int)(Math.random()* 101); Scanner input = 阅读全文
posted @ 2022-05-17 15:46
Scenery_Shelley
阅读(28)
评论(0)
推荐(0)
摘要:
圆心之间的距离和 |r1-r2|及(r1+r2)之间比较 import java.util.*; import javax.swing.*; class Main { public static void main(String[] args){ Scanner input = new Scanne 阅读全文
posted @ 2022-05-17 15:30
Scenery_Shelley
阅读(251)
评论(0)
推荐(0)
摘要:
PL1,PR1 表示为矩形1 的左上角 和 右下角 的 点 PL2,PR2 表示为矩形2 的左上角 和 右下角 的 点 PR1.x ⇐ PL2.x 表示矩形1 在矩形2 的左边,不重叠 PL1.x >= PR2.x 表示矩形1 在矩形2 的右边,不重叠 PL1.y ⇐ PR2.y 表示矩形1 在矩形 阅读全文
posted @ 2022-05-17 10:51
Scenery_Shelley
阅读(934)
评论(0)
推荐(0)

浙公网安备 33010602011771号