You have 4.0 g of solid A, 100.00 mL of water (100.0 g of water), and the total mass of solid A combined with 100.00 mL of water is found to be 104.0 g. The mass percent of A in this solution is

% = (100)*(grams solid) / (Total mass)