For...Next Loop Multiplication Table to Start on 0
- by nikl91
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 = ""
For row = 1 to 50
mult = mult & ""
For col= 1 to 20
mult = mult & "" & row * col & ""
Next
mult = mult & ""
Next
mult = mult & ""
response.write mult
This is what I have so far. Any suggestions?