void Quiz::GiveQuestionTo(Student & s) // postcondition: student s asked a question { cout << endl << "Ok, " << s.Name() << " it's your turn" << endl; cout << "type answer after question " << endl; myQuestion.Create(); if (! s.RespondTo(myQuestion)) { cout << "try one more time" << endl; if (! s.RespondTo(myQuestion)) { cout << "correct answer is " << myQuestion.Answer() << endl; } } }