Problem using for loops and if else statements to print patterns of *'s

EDIT: Discovered the solution with the help of experienced friend.

Thanks anyway.
Last edited on
Topic archived. No new replies allowed.