This code allow users to input resistor color bands to calculate resistance.