import java.util.Scanner;public class MQ3 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一个在1~15之间的数"); Byte m = sc.nextByte(); int n = 1; int a = 1; int c = 1; int l = 1; for ( n = 1 ; n&l…
import java.util.Scanner;public class MQ5 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("请输入一个数"); long a = sc.nextLong(); System.out.println(a/3600+":"+(a%3600)/60+":"+(a%…
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++;// do { System.out.println("年轻人不讲would"); }while(a==3); //输出结果为年轻人不讲would }}…