12 2020 档案

摘要:import java.util.Scanner;public class MQ5 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一个数") 阅读全文
posted @ 2020-12-18 17:27 梅七 阅读(111) 评论(0) 推荐(0)
摘要:import java.util.Scanner;public class MQ3 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一个在1~ 阅读全文
posted @ 2020-12-16 11:43 梅七 阅读(107) 评论(0) 推荐(0)
摘要:public class Mq { public static void main(String args[]) { System.out.println("到底去还是不去呢?"); for(int a=1;a<4;a++){ System.out.println("去,"); for (int b 阅读全文
posted @ 2020-12-16 10:29 梅七 阅读(104) 评论(0) 推荐(0)
摘要:public class Mq2 { public static void main(String[]args) { int b = 3; while (b < 7) { System.out.println("吼"); b = b + 1; } //输出结果为四个吼 int a = 3; a++; 阅读全文
posted @ 2020-12-07 17:35 梅七 阅读(98) 评论(0) 推荐(0)
摘要:public class Mq { public static void main(String[]args){ int a = 3 ; a++;// do{ System.out.println("年轻人不讲would"); } while(a==3); for(int b=3 ;b<6;b++) 阅读全文
posted @ 2020-12-07 16:38 梅七 阅读(93) 评论(0) 推荐(0)