An electric iron consumes energy at a rate of 840 W when heating is at the maximum

An electric iron consumes energy at a rate of 840 W when heating is at the maximum rate and 360 W when the heating is at the minimum rate. The applied voltage is 220 V. What is the value of current and the resistance in each case?