Triangle

Write a program that, given a number n, prints a “triangle of size n”.

Input

Input consists of a natural number n.

Output

Print n lines, in such a way that the i-th line contains i asterisks.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:39:53.971Z

© Jutge.org, 2006–2026.
https://jutge.org
