Given N integers, we want to print a histogram of stars in N rows. You are given how many rows we want to print and how many stars to print in each row.
Two lines of input, the first line contains N, the number of rows to print
The second line of input contains N integers separated by a space, the number of stars we want to print in each row
3 1 2 3
* ** ***
5 5 2 3 1 7
***** ** *** * *******
6 1 3 1 3 1 3
* *** * *** * ***
Test your solution here
when it passes, copy it and submit it here so your coach can grade it.