📄 2.prg
字号:
set talk off
CLEAR
input "请输入你要显示的字母数:" to t
for i=1 to t step 1
for j=1 to 2*i-1 step 1
a=chr(asc("A")+i-1)
@ 10+i,10-i+j say a
endfor
endfor
z=i
i=i-2
for x=t-1 to 1 step -1
for j=1 to 2*i-1 step 1
a=chr(asc("A")+x-1)
@ 10+z,10-i+j say a
endfor
z=z+1
i=i-1
endfor
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -