Modify the toString() method in Complex (PROGRAM 3.2.6) so that it prints complex numbers in the traditional format. For example, it should print the value 3 − i as 3 − i instead of 3.0 + −1.0i, the value 3 as 3 instead of 3.0 + 0.0i, and the value 3i as 3i instead of 0.0 + 3.0i.
Program 3.2.6 Complex number
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.