When you compile your code and try to run it, you have to look at the output (bottom of the window) to see if there are any errors (or warnings).
I just tried to run (and compile) your code and I see plenty of errors. You have to fix them first.
Compilation failed due to following error(s).
main.cpp:169:14: warning: missing terminating " character
cot<<"\a\a\a\a\a\a\a\a\a\a\a\a\a\"
^
main.cpp:169:14: error: missing terminating " character
cot<<"\a\a\a\a\a\a\a\a\a\a\a\a\a\"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function ‘void question_3()’:
main.cpp:105:5: error: expected ‘;’ before ‘cout’
cout<<"that was probablly the easiest question i asked you so far how did you get this wrong"<<endl;
^~~~
main.cpp: In function ‘void question_4()’:
main.cpp:135:9: error: expected ‘;’ before ‘cout’
cout<<"this isn't even a hard word problem and somehow you still got it wrong if you want a hard one just look for the last question\n";
^~~~
main.cpp: In function ‘void question_5()’:
main.cpp:169:9: error: ‘cot’ was not declared in this scope
cot<<"\a\a\a\a\a\a\a\a\a\a\a\a\a\"
^~~
main.cpp:169:9: note: suggested alternative: ‘gcvt’
cot<<"\a\a\a\a\a\a\a\a\a\a\a\a\a\"
^~~
gcvt
It tells you what line has the problem and what it is.
The first problem is that you have not terminated your string: "\a\a\a\a\a\a\a\a\a\a\a\a\a\" The problem here is that you put a backslash (\) before the closing quote. This is an escape sequence, meaning do not terminate the string with the quote, but actually include the quote character in the string. And it's still waiting for the string to finish.
So just remove the backslash from before the closing quote. :)
The same line has more problems.
Every instruction has to be terminated with semicolon (;) in C and C++. So put that at the end of the line. Similarly the declaration of orange ("string orange") should be terminated with a semicolon too. And so do question 3's and question 4's couts;
The 3rd problem with this line is the instruction cot. It is now know. You wanted to type cout, right?
As for getline, you can just google your problem. You would probably find this solution.
As described there, getline will read the enter (\n) from your last input and terminate. To fight this, call std::ws(std::cin) to skip white space characters.
ws(cin);
getline (cin,answer_5);