Hello everyone im new to the forums and im sure your all going to be seeing much more of me Im in school for C++ programming, Im making a survey program for an assignment and one problem im coming across is;
Im asking 30 questions; and i want it to save the answer to a variable, is their anyway to save the answers without having to make 30 variables?
cout << "is this a good code: ";
cin >> Ans1
and so far thats how it is for the rest just with 30 different answer variables.. IF not ill do that i was just wanting a quick and easier way.. if anyone can make any suggestions id greatly appreciate it. Thank you