Evaluating the Effectiveness of Large Language Models in Solving Simple Programming Tasks: A User-Centered Study