CnH2n
In the case of C4H8, because there are 4 carbon atoms and there are 8 hydrogen atoms the general formula must be CnH2n where n can be any number.
9.4m questions
12.2m answers