The oxidation number of an atom in its elemental state is zero. Therefore, the oxidation number of Kr in KrF2 is +2 (since F is -1) and the oxidation number of O in H2O is -2 (since H is +1).
The equation with assigned oxidation numbers is:
$$
2
Show more…