Sei sulla pagina 1di 2

CONVERSION DE EXPRESIONES INFIJAS A POSTFIJAS

REGLAS DE EVALUACION DE PRIORIDADES


- Si PRIOR(operador) >= PRIOR(top(PILA))
EMPILAR !!
- SiNo
DESEMPILAR !!

TABLA DE PRIORIDADES

OPERADOR ^ * / + - ( ) #
PRIORIDAD-E 3 2 2 1 1 4 0 0
PRIORIDAD-S 3 2 2 1 1 0 0 0
TFIJAS

Potrebbero piacerti anche