Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I can at least tell you that your for-loops needs {}-brackets to work. You have only defined brackets for 2 of your 6 loops. Commented Feb 5, 2019 at 16:48
  • The brackets are okey. You can leave the brackets out but you have to remember only the following line will be looped, that's why is not encouraged. However the question did not had brackets issues. Commented Feb 5, 2019 at 17:18