IBM interview question

Design a simulation system in c++ for storing pincodes.