#t30. 输出倒三角星号图案

输出倒三角星号图案

Inverted Triangle of Stars

Problem Description

Write a program that prints the specified inverted triangle made of *.

Input Format

This problem has no input.

Output Format

Print the inverted triangle made of * exactly in the following format.

* * * *
 * * *
  * *
   *

Sample Input

(none)

Sample Output

* * * *
 * * *
  * *
   *

Constraints

None.

Hint

  • No input; print the lines one by one. The number of leading spaces grows by 1 on each line.
  • A few cout statements are enough to pass now; after you learn loops, come back and think: how would you draw an inverted triangle of any size?