clear //Given V=2 //V R=2000.0 //ohm //Calculation I=V/R pd=I*R //Result printf("\n Reading of ammeter is %0.3f mA \nReading of voltmeter is %0.3f V",I*10**3,pd)