after beating my head against the wall i finally got it, but one small issue. I'm apparently printing out an extra character in each line. how do i fix this?enter image description here

enter image description here


You're printing an extra space on each row. Are you sure about your loop condition for the space?

As an example, if the height is 1, there should be no spaces printed. Your loop will run once, and print a space.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .