The up quark has a charge of +2/3 elementary charge units (e) and the charm quark has a charge of +2/3 e as well. To determine the charge of the particle, we need to consider the combination of quarks in the particle.
The charge of a composite particle is given by the sum of the charges of its constituent quarks. If the particle contains only up and charm quarks, it means there are no down, strange, top, or bottom quarks present.
The up quark has a charge of +2/3 e, and the charm quark also has a charge of +2/3 e. Therefore, if a particle contains only up and charm quarks, the total charge would be:
(+2/3 e) + (+2/3 e) = +4/3 e
So the charge of the particle would be +4/3 elementary charge units (e).