Star
InterviewTime limit1sMemory limit512 MB
Print a star pattern whose exact rule is inferred from sample outputs, with no trailing spaces on any line.
- Level
Easy3 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Look at the sample outputs and infer the star-printing rule, then print the stars.
Input
The first line gives the integer N (0 ≤ N ≤ 10).
Output
Print the stars according to the star-printing rule.
Do not print trailing spaces at the end of each line.