摘要: if else语句实现 import java.util.*; class Main { public static void main(String args[]){ //Create a Scanner Scanner input = new Scanner(System.in); //Prom 阅读全文
posted @ 2022-05-10 19:21 Scenery_Shelley 阅读(44) 评论(0) 推荐(0)
摘要: import java.util.*; class Main { public static void main(String args[]){ Scanner input = new Scanner(System.in); //prompt the user to enter weight in 阅读全文
posted @ 2022-05-10 18:01 Scenery_Shelley 阅读(55) 评论(0) 推荐(0)
摘要: 单次计算 import java.util.*; class Main { public static void main(String []args) { //1. Generate two random single-digit integers int number1 = (int)(Math 阅读全文
posted @ 2022-05-10 17:44 Scenery_Shelley 阅读(144) 评论(0) 推荐(0)