Skip to content
Advertisement

Tag: loops

Invert incrementing triangle pattern

I am writing some code that creates a incrementing number right angle triangle that looks something like this: I am unsure on how to make my code output a triangle to that shape as my code outputs the same thing except inverted. This is the code I have: My speculation is that instead of incrementing some of the values I

Advertisement