Question 1041660
Let's call the total number X.
If there were 98 students, each student would have gotten,
{{{Y=X/98}}}
However since there were 28 absent, each student got,
{{{Y+4}}} or substituting {{{X/98+4}}}
So then you can find the total number of candies given by multiplying the amount per student and the number of students,
{{{(X/98+4)*(98-28)=X}}}
{{{(X/98+4)*70=X}}}
{{{X/98+4=X/70}}}
Multiply both sides by {{{98*70}}},
{{{70X+27440=98X}}}
{{{28X=27440}}}
{{{X=980}}}