///////////////////////////////////////////// //// Interpreter for simplified infix expression with +,-,*,/. //// Keyboard input, single digit numbers only and no spaces are allowed. //// compile: $>g++ prog1.cpp //// run with: >2+3*4/2+3+4*2 ///////////////////////////////////////////// #include //for atoi() #include using namespace std; int Exp(), Term(), Exp2(int), Term2(int), Fact(); string prog; //string for reading 1-line input program int indexx = 0; //global index for program string int main(int argc, const char **argv) { cout<<">"; cin>>prog; //reads 1-line input expression (program) cout<<"result= "<