Hi Kadening,
I suggest you read the posting duidelines (added as a sticky thread on top of the C/C++ threads).
While the experts here are more than happy to help you with any difficulties you may have, they will not give you complete code to solve a particular task.
You may like to consider what you find difficult about the problem, where the problem lies, is it a case of not understanding what you have to do, or is it a case of not knowing where to start. Once you have done this, post again with a specific problem, and you may find experts happy to help.