C语言学习-字母金字塔问题 问题描述 编写一个程序,用户输入某个大写字母,产生一个金字塔图案。 例如:输入E 产生如下图案: 代码如下: #include <stdio.h> int main() { int i, j, k, white; char ch; scanf("%c", &ch); white = ch - 65;//第一行空格数,A ascii 65 //打印空格