The percentage composition of a hydrocarbon is 79.2 carbon 20.8 hydrogen. Calculate its empirical formula…