let x=read_int();;for j=1 to x do for i=1 to max j (x-j+1) do print_string (if i=j||j+i-1=x then "X" else " ") done; print_newline(); done
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page