Well , using a multimeter is a good option but it may not be available to most of us, and using it is a bit complicated and I will be posting it in my next instructable on it.
Presently, I will tell you the criterion for calculating the resistance and capacitance.(Only in ceramic capacitors as it is mentioned on electrolytic capacitors)
Step 1: MOTIVATION
As I didn't have a multimeter so I tried to understand the logic behind the codes.
Which I will be telling you.