1 2 3 4 5 6 7
//Ex:2.5 clc; clear; close; r=27*(10^3); printf("Resistor value = %d ohm",r); printf("\nTolerance = 5 %%");