Exercise 2-3 Output the inverted triangle pattern (5 points)
This question requires writing a program to output the designated inverted triangle pattern consisting of "*".
Input format:
There is no input for this question.
Output format:
output the inverted triangle pattern composed of "*" according to the following format.
Author
Chen Jianhai
Unit
Zhejiang University
Code length limit
16 KB
Time limit
400 ms
Memory limit
64 MB
#include <stdio.h>
int main() {
printf("* * * *\n * * *\n * *\n *");
return 0;
}