How about you change bool askQuestion (string useranswer)
to bool askQuestion (string userquestion, string useranswer)
and cout << "What is a computer error called?: " << endl;
to cout << userquestion << endl;
Another improvement would be to call askQuestion() in a loop which reads the questions and answers form an array or a file so that you can more flexibly add and remove questions.