Aristocrat Interview Question

Design, coding Advance C++