There are a number of options.
First, this looks like a homework assignment. Which means you can use off-topic with a custom close reason: "it is a homework question that shows no effort at all from the OP."
The lack of effort makes it off-topic; it says clearly in the Help Center:
Questions asking for homework help must include a summary of the work you've done so far to solve the problem, and a description of the difficulty you are having solving it.
I find the custom close reason the preferable way of dealing with homework dumps.
Of course, if the OP had added an MCVE of their attempt at a solution, it would have been another matter entirely.
For this reason, you could choose the off-topic "Questions seeking debugging help" close reason. It is not entirely applicable, as there is apparently nothing to debug yet. But it has the advantage that, when the question is put on hold, the text about how to ask for debugging help is added by the system. And that text contains the message the OP needs to get. It also advises them to add an MCVE, and even provides the link to the MCVE page.
Another option is "Too Broad". It's asking for an entire program to be written. We're here to help people, not to do their work for them. And the answering space on Stack Overflow was never meant for entire programs.
"Unclear what you're asking" as you chose to do is also an option. Although technically speaking the question is clear... it's asking to do their homework for them. I prefer the custom close reason or "Too Broad".
Unclear what you're asking
. Can't remember now what was the exact title, but it was above theToo Broad
option suggested above.spam
option mentioned only promotional questions, this one doesn't look like one of those.*actual* job postings
and I repliedthis one doesn't <...>
, sorry about that misunderstanding. Still, even the actual job postings do not seem to meet thepromotional only
criteria, but the question you've linked to seems to cover more or less what I was asking about. Please post it as an answer so I can accept.