Allright sorry about that, ill be much more understandable now.
Code:
//Enter input data
cout << "Enter your full name: ";
getline(cin, name);
cout << "This survey consists of 30 basic questions";
cout << "Ready to begin? Yes/No";
cin >> ready;
What im wondering now is i want to make it where when they Enter Yes it just continues on with the program; Now i can handle that but when they enter No their not ready i want it to just restart the program and im not sure how to do that and what kind of statement i would be using? my guess is a IF statement but thats why im asking, so appreciate if you could give shine a little light on me thank you
also i was wondering whats the trigger to print?
Im wanting to print at the end of the program like
Name: name
Answer1: ans1
answer2: ans2
from questions 1-30 id like to print out whats saved in the variable.