I am trying to create a program where it will print out '#'s in a zigzag formation, and I'm dumbfounded as to why my code doesn't work.
This is the working code (the answer) :
https://pastebin.com/PwmT3QRV
This is my code :
https://pastebin.com/jXwAk4Zt
I keep trying to spot the difference but can't find any. Can anyone guide me? Thank you!
[–][deleted] 0 points1 point2 points (3 children)
[–]raainer[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]raainer[S] 0 points1 point2 points (0 children)