Sounds like homework. We are willing to help you with the difficult bits but you have to show some effort. Post a schematic and some code. With that you will stand a better chance of getting a helpful reply.
If you understand BCD and ADC conversions it is not a difficult problem. Which language and processor are you using ?