摘要: 1 import java.util.Scanner; 2 3 public class Lottery { 4 public static void main(String[] agrs) { 5 int lottery = (int)(Math.random() * 100); 6 7 Scanner input = new Scanner(Sy... 阅读全文
posted @ 2018-09-13 16:18 LeoLiY 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.Scanner; 2 3 public class SubtractionQuiz { 4 public static void main(String[] agrs) { 5 int number1 = (int)(Math.random() * 100); 6 int number2 = (int)(Math.rando... 阅读全文
posted @ 2018-09-13 11:15 LeoLiY 阅读(275) 评论(0) 推荐(0) 编辑