Skip to main content
edited body
Source Link
Graham
  • 6.8k
  • 1
  • 15
  • 11

APL+WIN, 58 bytes

Prompts for n

o,(⍉(n,⍴c)⍴c←'_'⍴c←'-',((n+1)+n*2)⍴'.'),o←(1,n,1,(n←⎕)*2)/'/|/.'

Try it online! Thanks to Dyalog ClassicTry it online! Thanks to Dyalog Classic

APL+WIN, 58 bytes

Prompts for n

o,(⍉(n,⍴c)⍴c←'_',((n+1)+n*2)⍴'.'),o←(1,n,1,(n←⎕)*2)/'/|/.'

Try it online! Thanks to Dyalog Classic

APL+WIN, 58 bytes

Prompts for n

o,(⍉(n,⍴c)⍴c←'-',((n+1)+n*2)⍴'.'),o←(1,n,1,(n←⎕)*2)/'/|/.'

Try it online! Thanks to Dyalog Classic

Source Link
Graham
  • 6.8k
  • 1
  • 15
  • 11

APL+WIN, 58 bytes

Prompts for n

o,(⍉(n,⍴c)⍴c←'_',((n+1)+n*2)⍴'.'),o←(1,n,1,(n←⎕)*2)/'/|/.'

Try it online! Thanks to Dyalog Classic