I need help with these questions

1. Calculate the percentage by mass of potassium in potassium sulfate K2 SO4
2. calculate the percentage by mass of nitrogen in ammonium nitrate Nh4 No3

2 answers

%K = (mass K/mass K2SO4)*100 = ?
For masses use atomic and molar masses.
Yes