#include #include #include using namespace std; int main(){ srand(time(0)); int aop; //This will hold the # amount of how many problems the user wants cout<<" Welcome to the Math Quizzer!\n\n\n\n"; cout<<" First, please enter the number of problems you wish to have: "; cin>>aop; //Waits for user input of # of problems cin.get(); cout<<"\n\n\n"; //Arrays which each problem will be stored in: int aarr[aop-1]; int barr[aop-1]; //Arrays for supplied answers and correct answers: int answers[aop-1]; int crrans[aop-1]; //crrans=correct answers //Now loops spitting out random problems. Loop amount=aop (amount of problems) for(int i=0;i>answ; cin.get(); answers[i]=answ; //Puts the given answer in the answers array } cout<<"\n\n\n Your results:\n\n"; int score=0; //Loop which outputs results: for(int r=0;r