最后一个输出可以改进: ```java System.out.printf("x1=%1$.2f-%2$.2fi;x2=%1$.2f+%2$.2fi\n",real,imag); ```
1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务