Answer:
20 hydrogen atoms
Explanation:
Let us carefully observe the words of the question. We were told that the compound is a hydrocarbon. This implies that it is composed of only hydrogen and carbon.
Secondly, we are informed that the compounds is composed of only C-C single covalent bonds. This means that the compound is an alkane.
Then we are told that it contains nine carbon atoms and is a linear molecule. Hence, the compound must be n-nonane.
Recall that for alkanes, the general molecular formula is CnH2n+2 Substituting n=9 for nonane we have; C9H(2*9)+2 which is C9H20.
Thus there are 20 hydrogen atoms. The structure of the compound is attached to this answer