js输出每5个数据为一行

        var count=0;
        var i=20;
        while (i<=80) {
            if(i%3==0){
                document.write (i+" ")
                count++;
                if(count%5==0){
                    document.write("<br>")
                }
            }
            i++
        }

相关文章:

  • 2022-01-15
  • 2022-01-30
  • 2021-04-05
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-21
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
相关资源
相似解决方案