public class a1 { public static void main(String[] args) { int count = 0; for (int i = 1;i <= 100;i++) { if (i % 5 != 0) { System.out.print(i + "t"); count++; while (count % 5 == 0) { System.out.println(); break; } } } } }
欢迎分享,转载请注明来源:内存溢出
public class a1 { public static void main(String[] args) { int count = 0; for (int i = 1;i <= 100;i++) { if (i % 5 != 0) { System.out.print(i + "t"); count++; while (count % 5 == 0) { System.out.println(); break; } } } } }
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)