How many moles of water are produced in C8H18(g) + O2(g) →CO2(g) + H2O(g)

The balanced chemical equation for the reaction is:

C8H18(g) + O2(g) → CO2(g) + H2O(g)

From the equation, it is clear that 1 mole of C8H18 reacts with 12.5 moles of O2 to produce 8 moles of CO2 and 9 moles of H2O.

Therefore, the number of moles of water produced in the reaction is 9 moles.