Let x be the oxidation number of Co in [Co–––(NH3)5Cl]Cl2.
Since the overall charge on the complex is 0, the sum of oxidation states of all elements in it should be equal to 0.
Therefore, x+5(0)+3(−1)=0
or, x=+3
Hence, the oxidation number of Co in [Co–––(NH3)5Cl]Cl2 is +3.