ComplexNumberProblem A ComplexNumber class contains two data members : one is the real part (R) and the other is imaginary (I) (both integers).