% % Apple Store. % By Alan. % -module(store). -export([cost/1]). % % -- Public -- % cost(iPhone) -> 999; cost(iPad) -> 799; cost(macBook) -> 1900; cost(iMac) -> 2400; cost(insight) -> priceless; cost(_) -> notSold. % % -- Private -- %