7-5 输出倒三角图案7-5 输出倒三角图案 (5 分)

7-5 输出倒三角图案 (5 分)
本题要求编写程序,输出指定的由“*”组成的倒三角图案。

输入格式:
本题目没有输入。

输出格式:
按照下列格式输出由“*”组成的倒三角图案。



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

猜你喜欢

转载自blog.csdn.net/weixin_44745943/article/details/88584164