Overview and Scope A slot machine is a machine that operates by dropping a coin into a slot. The user…