Hey there!
Funny, I wrote the same thing awhile back when i first started :) I'll post the code so you can take a look at it. Just change the for loop to the desired number of itterations that you want or just use it as a template.This also was for my daughter.I another one for my older daugheter(11) that does multiplacation, subtraction, and addition, if your interested let me know and ill post the code for ya..anyway here it is.
int _tmain(int argc, _TCHAR* argv[])
{
int product;
int answer;
int correct = 0;
int wrong = 0;
for ( int i = 1; i <= 3; i++ )
for( int j = 0; j <= 12; j++ ){
cout << "Chloie what is " << i << " X " << j << " = ";
cin >> answer;
product = i * j;
if( answer == product ) {
cout <<"Good Job Chloie!!!!!" << endl << endl;
correct++;
}
else {
cout << "Sorry " << i <<" X " << j << " = " << product << endl << endl;
wrong++;
}
}
cout << "You got " << correct <<" right and " << wrong << " wrong" << endl<< endl;
cout <<"Go get your dad chloie....." << endl;
cin.get();
return 0;
}
Hope it helps