Jump to content

Finite state machine: Difference between revisions

m
(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
3,043

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.