梦想世界道法单p攻略:三角形编程

来源:百度文库 编辑:高考问答 时间:2024/05/01 11:44:23
*(前空一格)
***(前空一格)
*****(前空三格)
*******(前空两格)
*********(前空一格)
***********(顶格)

#include <stdio.h>
#include <stdlib.h>
main()
{
printf(" *\n ***\n *****\n *******\n *********\n***********\n");
exit(0);
}

你的题 问的不对

空格的个数写错了吧