标签:div print code ++ span 循环 pre [] logs
/** * @author 小游戏 */ public class Game { public static void main(String[] args) { for (int i = 1; i <= 100; i++) { if (i % 3 == 0 && i % 5 == 0) { System.out.println("FlipFlop"); } if (i % 3 == 0) { System.out.println("Flip"); } if (i % 5 == 0) { System.out.println("Flop"); } if (i % 3 != 0 && i % 5 != 0) { System.out.println(i); } } } }
标签:div print code ++ span 循环 pre [] logs
原文地址:http://www.cnblogs.com/lanseyitai1224/p/7011542.html