views:

97

answers:

1

I have my For...Next loop with a multiplication table working just fine, but I want the top left box to start at 0 and move on from there. Giving me some trouble.

dim mult

mult = "<table width = ""100%"" border= ""1"" >"

For row = 1 to 50

    mult = mult & "<tr align = ""center"" >"

    For col= 1 to 20

        mult = mult & "<td>" & row * col & "</td>"

    Next

    mult = mult & "</tr>"

Next

mult = mult & "</table>"

response.write mult

This is what I have so far. Any suggestions?

A: 

Just change this piece of code

For row = 1 to 50

for this one

For row = 0 to 50

arclight
nikl91
nikl91