clear// //Variables P = 36 //Power (in watt) V = 230.0 //Voltage (in volts) //Calculation R = V**2/P //Resistance (in ohm) //Result printf("\n Resistance of the heating element is %0.0f ohm.",R)