12. Which of the following statements is correct?
(A) the intemal energy of a system increases when more work is done by the system than heat is flowing into the system
(B) the internal energy of a system decreases when work is done on the system and heat is flowing into the system
(C) the system does work on the surroundings when an ideal gas expands against a constant external pressure
(D) all the statements are true
(E) all the statements are false