I was going over close votes, when I stumbled into this question. Notice it was put on hold because:
unclear what you're asking
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
Only this isn't entirely true. While the question is kinda not-specific, it is quite clear. The way I see it, the problem is he's not asking something specific but kinda asking "hey can you solve this for me?" (as one commenter very nicely puts it "Please always include things you've tried and researched"
).
And this isn't an isolated case, I constantly see questions where the bottom line is "This is my homework, can you solve it for me". I think it'll be good if off-topic will have another option, quoting the on-topic help:
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work
Here's a case where this was actually used (I'm guessing it either used to exist or that multiple voters used it in their comment as a special close vote). I know it might be a tad insulting for new users, but sometimes I feel like it's really necessary.
Maybe if we change the phrasing a little, it would be better suited. What do you think?
small update
I just went over close votes and saw this question. It's notable because the OP actually up and posted an entire assignment verbatim. It was also closed as "Too Broad" (which isn't true, the assignment is very specific) so it's a good example of the problem I mentioned.
However, much more important than that is the very well-written comment left by user @MichaelBerkowski:
When posting an assignment question, we are often happy to help you where you are stuck, given evidence of a solid effort and your current level of understanding of both the problem and the code you've attempted to solve it with. Not many of us are likely to provide a solution to an assignment problem asked in this way however
I think any the phrasing of my suggested close-reason should probably be some variation of that