Epoka Science Olympiad 2017 - 9th Grade |
Start: May.06.2017 at 10:00:00 AM
Finish: May.06.2017 at 12:30:00 PM
The contest is finished!
• Contest scoreboard
|
Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
The Star Triangle
Question:
Write a C++ program that will read the depth and print the Star Triangle up to input depth. The number of rows (n) will be entered by users and then a Star triangle will be generated in a 2D manner.
Input specification:
A Positive integer.
Output specification:
Star Triangle.
Sample Input |
Sample Output |
3
|
|
Для отправки решений необходимо выполнить вход.
|