7-5 输出倒三角图案 (5 分)
本题要求编写程序,输出指定的由“*”组成的倒三角图案。
输入格式:
本题目没有输入。
输出格式:
按照下列格式输出由“*”组成的倒三角图案。
#include<stdio.h>
int main()
{
printf("* * * *\n * * *\n * *\n *");
return 0;
}
7-5 输出倒三角图案 (5 分)
本题要求编写程序,输出指定的由“*”组成的倒三角图案。
输入格式:
本题目没有输入。
输出格式:
按照下列格式输出由“*”组成的倒三角图案。
#include<stdio.h>
int main()
{
printf("* * * *\n * * *\n * *\n *");
return 0;
}