1 回答
已采纳
慕用4063026
TA贡献195条经验 获得超115个赞
#include <stdio.h> int main() { char zm[]={'A','B','C','D','E','F','G','H','I', 'J','K','L','M','N','O','P','Q','R','S','T', 'U','V','W','X','Y','Z' }; int i,j,k,cnt = 0; for(i = 0;i < 5;i++) { for(k = 10 - i;k >= 0;k--) printf(" "); for(j = 0;j < i*2+1;j++) printf("%c ",zm[cnt++]); printf("\n"); } }
- 1 回答
- 1 关注
- 1560 浏览
添加回答
举报
0/150
提交
取消