search

Home  >  Q&A  >  body text

php double for loop traverses 1 to 100

Like the title php double for loop traverses 1 to 100 php double for loop traverses 1 to 100 php double for loop traverses 1 to 100 php double for loop traverses 1 to 100 php double for loop traverses 1 to 100

菜鸟菜鸟2157 days ago1786

reply all(4)I'll reply

  • 查无此人

    查无此人2019-03-25 16:59:37

    Don’t understand what you mean? double?

    for($a=1;$a<100;$a++){

    for($b=1;$b<100;$b++){

                                                                                                                                                                                                                                                                        not not not not be the same, ;

    reply
    0
  • 菜鸟

    emm, the question is like this. Use double for loop nesting to output a table with ten rows and ten columns, containing numbers 1-100. The inner and outer judgments of for are both <10 and the table is output, but the numbers inside are not 1-100.

    菜鸟 · 2019-03-25 17:56:28
    移动用户-4069277

    Yes

    移动用户-4069277 · 2021-04-22 09:06:10
  • Cancelreply