} charPrecede(chara,charb) {//比较运算符a和b的优先级 if((a=='('&&b==')')||(a=='='&&b=='=')){ return'='; }elseif(a=='('||a=='='||b=='('||(a=='+'||a=='-')&&(b=='*'||b=='/')){ return'<'; }else{ return'>'; } } voidInfixToSuffix(charinfix[]...