My column output: Answer 1 Answer 2 Answer 3 Answer 4
123
for (int x=0;x<=number_of_answers;x++) if ( answer[x] >0) // checking if array value is over 0. cout << answer[x] << endl; // print answer. This will be skipped IF answer <=0