//ques-18.3 //Calculating heat of a reaction clc h1=-110.5;//heat of formation of carbon monoxide (in kJ) h2=-393.8;//heat of formation of carbon dioxide (in kJ) h3=-241.8;//heat of formation of water (in kJ) H=h1-h2+h3;//heat of reaction (in kJ) printf("Heat of the given reaction is %.1f kJ.",H);