Answer: The mass percent of sulfur and oxygen in the compound is 40.05 % and 59.95 % respectively
Step-by-step explanation:
To calculate the mass percentage of element, we use the equation:

Mass of sulfur = 4.008 g
Mass of compound = 10.008 g
Putting values in above equation, we get:

Mass of oxygen = [10.008 - 4.008] = 6 g
Mass of compound = 10.008 g
Putting values in above equation, we get:

Hence, the mass percent of sulfur and oxygen in the compound is 40.05 % and 59.95 %