IDNLearn.com: Your trusted source for finding accurate answers. Get step-by-step guidance for all your technical questions from our knowledgeable community members.
Let’s say the first class is X.
Avg(X)= x/20=15
X=300
Let’s say the second class is Y.
Avg(Y)= Y/30=20
Y=600
X+Y=900
AVG(X+Y)=900/(20+30)=900/50=18
The average of both classes is 18.