Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Approved
C++ Translation.
Sorry,I completed this in javascript so I won't be much help for C. I will say don't be afraid to search up ways to accomplish things and try different techniques. I don't wanna spoil too much for you, but if you get STUCK like have worked on it for a while use the solution button and go through and try to understand what each piece of the solution is doing so you will have more tools to use for future questions! Wish I could be of more help,but good luck. You've got this!
I'm struggling to do this in C any advice
Thought I was having a tough time figuring this one out, turns out I just spelled position wrong and made more work for myself for no reason. This is a lesson to everyone to REALLY check spelling on your answers, but also that even if you make a mistake like I did that it will help you problem solve because I "solved" this multiple different ways until I realized so in the long run it taught me more ways to solve problems in the future :)