I am trying to put together a calculator program. So far I've got everything to work except for restarting the program if when the user is prompted to quit and he/she selects no, to restart my primary loop. Here is what I've got so far, any ideas!? Thanks!!
cout << "Let's Do a Calculation, Hit the ENTER key After Each Input" << endl ;
cout << "------------------------------------------------------------" << "\n" << endl ;
cout << "When Finished Calculating, Enter the Equal (=) Function" << endl << endl ;
//cout << "-------------------------------------------------------" << endl ;
cout << "Please Enter a Number ==> " ; // 1st input
cin >> input1 ;
cout << "Great Job!" << endl;
cout << "Please Enter ONE of the Provided Functions ( + - * / = ) ==> " ;
cin >> function ; // 1st function
cout << "Great Job!" << endl;
cout << "Please Enter Another Number ==> " ;
cin >> input2 ; // 2nd input
cout << endl ;
cout << "Great Job!"<< endl ;