What is general formula ?
a general formula is a type of empirical formula that represents the composition of any member of an entire class of compounds.
general formula for alkane = CnH2n+2
general formula for alkene = CnH2n
general forrmula for alkyne = CnH2n-2