Don't have Telegram yet? Try it now!
https://blog.agramakov.me/2019/01/01/c-state-machine-code-example/
C state machine code example