1 2 3 4 5 6 7 8
//Ex:1.16 clc; clear; close; v=15;//in volts i=0.001;//in amp r=v/i; printf("Resistance = %d ohms",r);