#include #include "expression.h" using namespace std; //introduces namespace std int main( void ) { expression expr; char ans; bool quit=false; do{ cout << "Welcome to the expressions program. Please give me an appropriate expression." << endl; cin >> expr; expr.simplify(); cout << "Again? "; cin >> ans; switch(ans) { case 'y': case 'Y': quit=true; } }while(!quit); return 0; }