Both of these methods should fill an array counting up to the number given by the user, respectively.
The forum cuts out leading white spaces, but be sure your table output is evenly aligned, unlike...