What would be the best way (or any way) to print out a pattern, that may cut off at any point dependant on the x & y length?
for example, if i wanted a pattern 4 up (y = 4) and 14 across (x = 14)
I would need it to print:
m//m//m//m//m/
m//m//m//m//m/
m//m//m//m//m/
m//m//m//m//m/
I'm thinking a nested for loop so:
for(i=1; i<y; i++){
//then another thing inside so that would make 4 lines total, but with the pattern printing along the x axis…
but how??
Thanks in advance for any help given.
Michael