This problem was used in the following GFU competitions:
GFU 2024 D3 Q12
GFU 2024 D2 Q5 (Titled "Money Money Money")
Chef Ramsey Gordon... What a guy!
In honor of your hero, make a pyramid of dollars signs that lean to the right.
The first input will be a single integer n that indicates the number of data sets that follow. Each data set will start with a single integer x denoting how high the dollar pyramid is.
The first input will be a single integer n that indicates the number of data sets that follow. Each data set will start with a single integer x denoting how high the dollar pyramid is.
Example Input:
4
1
5
0
4
Example Output:
$
$
$$
$$$
$$$$
$$$$$
$
$$
$$$
$$$$
This is a pretty simple program... no real tips/tricks.