PROGRAMMING:Complex addition
Title: a complex class, operator overload +, to achieve the addition of complex and complex. Enter a set of complex numbers, one for each line, until the end of 0. Output the result of the complex number.
It is suggested that the input and output of complex numbers conform to the mathematical writing standard
Input examples
3+2i
2+3i
0
Output example
5+5i
answer:If there is no answer, please comment
It is suggested that the input and output of complex numbers conform to the mathematical writing standard
Input examples
3+2i
2+3i
0
Output example
5+5i
answer:If there is no answer, please comment