Nesting Loop Home » ASP » VBScript Looping Logic » Nesting Loop <%@Language=VbScript%> <HTML> <Head> <Title>Nesting Loops</Title> </Head> <Body> <Font face="Arial" size=5 color=red> <% for r=1 to 5 for c=1 to r Response.write("*") next Response.write(" ") Response.write("<BR>") Next %> </Font> </Body> </HTML> Output * ** *** **** ***** Read more » Share on Facebook Share on Twitter Share on Google Plus RELATED POSTS