Asssignment1 - Part 2 section 1.2b

I used an if statement inside a for loop in this section to but cant store the candidateAnswers into the empty array as well as print the candidateAnswers and correctAnswers? I had it working the first time around but now it only prints the questions but doesnt store the answers? some direction would be great.