MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / setValues

Method setValues

Project_Quiz_Game/quiz-game-with-oop.cpp:145–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void Question::setValues(string q, string a1, string a2, string a3, string a4, int ca, int pa)
146{
147 Question_Text = q;
148 Answer_1 = a1;
149 Answer_2 = a2;
150 Answer_3 = a3;
151 Answer_4 = a4;
152 Correct_Answer = ca;
153 Question_Score = pa;
154
155}
156
157void Question::askQuestion() {
158 cout << endl;

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected