You are on page 1of 8

Diagramas de estado

Diseando una mquina de estados The calculator operates broadly as follows: a user enters an operand, then an operator, then another operand, and finally clicks the equals button to get a result. From the programming perspective, this means that the calculator needs to parse numerical expressions, defined formally by the following BNF grammar

Ejemplo para un sistema de Pedidos

You might also like