Help With C++ Code Program?

Ryan

New member
I'm trying to make a program that asks you 5 questions then tells you the score you got. I set it up so that it says if the answer is right or wrong then adds to the left column (the right / wrong) and adds to the right column (total of the number questions asked so far)

So for example it would say
5
* 0
----
5

Wrong! 0 / 1 = 0 <---- score so far

what i'm trying to do is store the number for the score so later if i ask for what my latest score is... it will be able to tell me. How do i do that?
 
Back
Top