摘要:
import java.util.LinkedList;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * 1.中缀表达式转换为后缀表达式 * 2.逆波兰式计算 * * @author Administrator * */public class Calculater { public static void main(String[] args) {// String str = "5+((1+2)*4)-13"; String str = "12/4.1+(1+4*5)&quo 阅读全文