Because the goal of DaniWeb is to help you become a better programmer, not to give you a passing grade you don't deserve. As the DaniWeb Community Rules state:
Do provide evidence of having done some work yourself if posting questions from school or work assignments
By posting here, you've agreed to follow community standards, remember. Show us what you've managed to do so far, and we'll give you as much help as we can. However, no one here will do your work for you; we will advise, assist, help debug, all of that, but we won't simply hand you the code as if it were yor right. Just as there is no royal road to geometry, there are no shortcuts in learning to program.