S&P Global Interview Question

OOP Design for Vending Machine