VB问题。请问输出的100个数怎么用十行十列输出来?

如题所述

    两层循环,

    for j=0 to 9

            for i=0 to 9

                 代码...

            next i

            textbox1.text=textbox1.text+vbcrlf

        next j

2.求余

    for i=0 to 99

        if i<>0 and i mod 10=0 then 

             textbox1.text=textbox1.text+vbcrlf

        end if

        代码...

    next i

追问

能帮我看看这段代码为什么不对嘛

温馨提示:答案为网友推荐,仅供参考