Which of the following describes the work done by a heat engine?
O A. The difference between the work and the heat flowing out
B. The difference between the heat coming in and the heat flowing
O C. The sum of the heat coming in and the heat flowing out
D. The difference between the heat coming in and work