var x,y,chr; for(x=1; x<=6; x++) { for (y=1; y<x; y++) { chr=chr+("*"); } console.log(chr); chr=''; }
No comments:
Post a Comment