You place 6 cards with different numbers on them in front of a spectator. The spectator merely points to the cards which show his age, and you can immediately reveal the spectator’s age.
Or hand spectator the cards, and have him hide the cards that display a freely selected number and discard the others, and you can still reveal the number.
Very easy to do.