A machine that automatically dispenses consumer goods such as cigarettes, food, or petrol, when money…