Question #3
Piles of ****
The file DATA3.txt will have 0 < x lines, where each line has one number y. You are to output a triangal of '*'s of height y starting at 1 to the file OUT3.txt.
Example
Input (DATA3.txt):
3
4
2
Output(OUT3.txt):
*
**
***
**
*
*
**
***
****
***
**
*
*
**
*