Zenkov Artem · Apr 9, 2018 go to post

ClassMethod main(As %Integer = 10)
 i=1:1:! j=1:1:$S(j#s<2!(i#s<2)!(j=i)!(s-i+1=j):"#",1:" "}