In a class containing 32students a student can either do government or history or both.if 16students do government 18 do history and 3 do none of of the subjects find how many do both

Using the formula:

Total students = Government students + History students - Both Government and History students + Neither Government nor History students

32 = 16 + 18 - Both + 3
Both = 16 + 18 - 32 + 3
Both = 34 - 32
Both = 2

Therefore, 2 students do both Government and History.