IBM Interview Question

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