Finite state machine: Difference between revisions
m
→{{header|ALGOL 68}}: Fixed prompt
(Added Algol 68) |
m (→{{header|ALGOL 68}}: Fixed prompt) |
||
Line 152:
)
, ( waiting
, INT: IF "S" = get code( "Enter S to Select, R to Refund", "SR" )
THEN dispense
ELSE refunding
Line 175:
<pre>
Ready: Enter D to deposit, Q to Quit: d
Ready: Enter S to Select, R to Refund: s
Ready: Remove your product and Enter R: r
Ready: Enter D to deposit, Q to Quit: d
Ready: Enter S to Select, R to Refund: r
Ready: Refunding
Ready: Enter D to deposit, Q to Quit: q
|