This is the question, verbatim. Let's have a look at it:
Write a Prolog function mergealt(X,Y,Z), that makes the list Z a merger of alternate
elements from the lists X and Y. and the input and out put will like below:
Z = [1, 7, 3] .
Z = [1, 7, 3, 9] .
Z = [1, 7, 3, 9] .
I don't really know recursion, so someone please help me!
The first part of the question is the assignment the user is trying to complete. That, alone doesn't make the question bad, however that's all there is to the question other than an explanation that the author does not know recursion and wants help.
As nothing indicates to the contrary, most would assume that by 'help', the user would be quite happy if someone were to give them the solution to the exercise. There is no actual question to be found.
Even if I had an in depth knowledge of Prolog, I don't think I could see how this question fits within our quality standards.
Per a section of our FAQ that all new users asking questions must read:
Do your homework
Have you thoroughly searched for an answer before asking your
question? Sharing your research helps everyone. Tell us what you found
and why it didn’t meet your needs. This demonstrates that you’ve taken
the time to try to help yourself, it saves us from reiterating obvious
answers, and most of all it helps you get a more specific and relevant
Take a look at the text given under the close reason on the question:
It's difficult to tell what is being asked here. This question is
ambiguous, vague, incomplete, overly broad, or rhetorical and cannot
be reasonably answered in its current form.
Incomplete, vague and overly broad clearly apply - there was nothing sinister about the closing of this question. Four users and the moderator that cast the final vote decided that the question, as asked, did not meet our minimum quality standards.
The question could be re-opened if:
- The user gave a more detailed explanation of what they don't understand
- The user showed some attempt to try and solve the problem, which is very useful to us to figure out where they are stuck
- The user ultimately asked a question
All of this is something that the user needs to do, we can't do it for the user because (again), we have no idea where they are actually stuck.
While I do abstain from close votes (especially as a moderator) if I'm at all unsure, there's no ambiguity here. The question as asked is simply not a good fit for Stack Overflow.