Print Stars - 3
InterviewTime limit1sMemory limit128 MB
Print N lines of stars where the count decreases from N down to 1.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Given an integer N, print N stars on the first line. On each following line, print one fewer star, so the N-th line contains one star.
Input
The first line contains an integer N.
- 1 ≤ N ≤ 100
Output
Print the required number of stars on each line from the first line through the N-th line.