(N/A) Electric charge is a scalar quantity.
The total charge of a system is obtained by adding the individual charges algebraically.
If a system contains $n$ charges $q_{1}, q_{2}, q_{3}, \ldots, q_{n}$,then the total charge $Q$ of the system is given by $Q = q_{1} + q_{2} + q_{3} + \ldots + q_{n}$.
Therefore,$Q = \sum_{i=1}^{n} q_{i}$,where $i = 1, 2, 3, \ldots, n$.
Proper signs (positive or negative) must be used while adding the charges in a system. For example,if a system contains five charges $+1, +2, -3, +4,$ and $-5$ in some arbitrary unit,the total charge is $(+1) + (+2) + (-3) + (+4) + (-5) = -1$ in the same unit.