// Example 2.15 // To find the Value of Resister // We Sghould know About Colour Code Y=4; // Yelow colour V=7; // Violet colour O=10^3; // Orenge colour r=(10*Y+V)*O; R=r*(5/100); disp(' The value of Resistance is = '+string(R)+' ohm'); // p 30 2.15