Residential electricity consumption regulations in a certain city: when the monthly electricity consumption does not exceed 30 kWh, the charge is 0.8 yuan per kWh; The average electricity price of Zhang Hua’s home in June was 0.96 yuan. How much electricity was used by Zhang Hua’s home in June?
某市居民生活用电规定：每月不超过30度时，按每度0.8元收费；超过30度时，超过部分按每度1.2元收费．六月份张华家的用电，平均价格是0.96元，六月份张华家用多少度电？
<gadget id="calculator">30 * 1.2</gadget>
<output>36</output>

<gadget id="calculator">0.8 * 30</gadget>
<output>24</output>

<gadget id="calculator">36 - 24</gadget>
<output>12</output>

<gadget id="calculator">1.2 - 0.96</gadget>
<output>0.24</output>

<gadget id="calculator">12 / 0.24</gadget>
<output>50</output>

<result>50</result>