How do you want your little game to run?
I mean, you want to ask ten random math questions before the game is over. Do you want to keep track of how many the user gets correct and then report that...