It happens all too often someone will post a question with no regard to how the system works. They put in no effort whatsoever, their accept rate is often low as well and they come up with a questions similar to this one where it seems obvious to me that the OP has not tried anything, just wants us to come up with an answer and give it to him. Some people down-voted and one other agreed that it should be closed, but several other supplied answers rather than encouraging the OP to modify his questions or vote to close it. I think this behavior leads to more bad questions.
So like the question says should we discourage users from posting answers on these types of questions? If so, what would be the best way to go about doing so?