|
|||
ASCII Triangles #2Write a program that draws triangles on the standard output as shown in the sample output. The first line of the input contains a positive integer t, which is the number of test cases. Each of the following t lines contains a positive integer n.
For each test case, the program must draw to the output a triangle with sides of length n, consisting of characters Sample Input
Output for Sample Input
One possible solution is available in: main.c.
Acknowledgement
This work was supported by the construction EFOP-3.4.3-16-2016-00021. The project was supported by the European Union, co-financed by the European Social Fund.
|
|||
University of Debrecen; Faculty of Informatics; v. 03/01/2019 |