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