The slot machines are the ones into which you insert a coin and pull the lever; the machine then displays…