Question: This is for a C programming class. We have not done arrays or strings yet so please do not include those. This function code at
This is for a C programming class. We have not done arrays or strings yet so please do not include those. This function code at the bottom must be used it was given by the instructor. Please add helpful comments. Thank you.





You to create a computer program that can help him translate the color code printed on the wants you an resistors into its value in Ohm CS2) based on the chart below. Typically, there are 4 color bands on the resistor: 3 color bands for resistor value and the 4th one is for the tolerance value. Your boss only care about the value of the resistor (only the first 3 color bands Tolerance band Third First Second colour band colour band colour band Silver multiply by 0.01 Black Black Gold multiply by 0.1 Brown Brown Black multiply by 1 Red Red Brown multiply by 10 Orange Orange Yellow 4 Yellow 4 Red multiply by 100 Green Green Orange multiply by 1.000 Yellow multiply by 10,000 Blue Blue Violet 7 Violet 7 Green multiply by 100,000 Blue multiply by 1,000,000 Grey Grey 9 White White Figure 1: Resistor Color Code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
