clear// //Variables R = 8 //Resistance (in ohm) I = 2.5 //Current (in Ampere) //Calculation V = I*R //Voltage (in volts) //Result printf("\n The maximum safe voltage is %0.3f volts.",V)