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