Dynamic Array

  • + 0 comments

    Awful phrasing of question, once again. Even though this is one of the more straightforward questions, it was baffling to go through query 2 and think back as to what the person asking the question wanted.

    The answers array came out of nowhere; especially when all the prompts in the question talk about printing the query.

    It is a fairly straightforward question. Hint, make an answers array; during query 2, instead of printing just store it in the array. Return the array at the end.