please help me for fix errors in the multi choise question programming

please help me for fix errors in the multi choise question programming . please please

 
Last edited on
Line 23: void askQuestin ( );

Line 114-118:
1
2
3
4
5
	q1.askQuestion();
	q2.askQuestion();
	q3.askQuestion();
	q4.askQuestion();
	q5.askQuestion();

See the typo?

Line 120:
cout << "Your Total Score is " << Total << " out of 100" < endl;
change to:
cout << "Your Total Score is " << Total << " out of 100" << endl;
(Another typo)

Line 164: cin >> Guess;
164:9: error: 'Guess' was not declared in this scope

Perhaps you wish to do:
1
2
int Guess;
cin >> Guess;


In general, read the compile errors closely, because they will contain line numbers close to where the actual error is. Typos are usually easy to spot once you know where to look.
Last edited on
hi , Ganado .

very Very nice . thank You Thank you , Very much .
Please DON'T delete things from your question after you've received an answer. It ruins this thread as a learning resource for others.

Please edit your OP to restore the deleted content.
Registered users can post here. Sign in or register to post.