Triangle

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

Input

Input consists of a natural number nn.

Output

Print nn lines, in such a way that the ii-th line contains ii asterisks.

Problem information

Author: Unknown
Translator: Carlos Molina

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

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