Skip to main content
1 of 4
Chris H
  • 631
  • 3
  • 7

#QBasic, 151 bytes Really just for fun (via QB64) - it doesn't golf well

FOR i=0 TO 25
p(i)
NEXT
FOR i=0 to 25
p(25-i)
NEXT
SUB p(i)
FOR n=0 TO i
s$=s$+chr$(n+65)
IF n THEN t$=t$+chr$(65+i-n)
NEXT
? s$+t$
s$=""
t$=""
END SUB
Chris H
  • 631
  • 3
  • 7