If you have a specific programming problem then we are more than happy to help. We do expect that you should be able to show some code or evidence that you have tried to solve the problem so that we can advise you where you are going wrong. It's not fair on you if we write the code for you - most of the developers who answer questions are experienced professional developers so we may solve something without you getting an understanding of what we wrote; and if you don't understand what we have written then you probably will not be able to progress much further in your course.
What I will do is let you know what steps I would take.
- What are the requirements? Break them down into smaller steps - but keep away from thinking in terms of code at this point.
- Have I adequately broken the problem down? Do I need to break the problem down further still?
- Do I have a complete set of requirements at this stage?
- Have I accounted for problem cases?
- Now that I have the requirements, order them and prioritise them.
- Break each requirement down into nice small, testable program elements.
- Write and test my code.
- Review the code. Does my final code satisfy ALL the requirements in 1?