We treat water molecules like a solid. For each atom average energy is 3kBT. Water molecule has three atoms, two hydrogen and one oxygen. The total energy of one mole of water is U=3×3kBT×NA=9RT (∵kB=NAR) ∴ Heat capacity per mole of water is C=ΔTΔQ=ΔTΔU=9R