clc; v=120; //potential diff in Volt r=12; //resistance in ohms i=v/r; //calculating current in Ampere using Ohm's law ie. V=I*R disp(i,"Current in the toaster in Ampere = "); //displaying result