15883873p42222
代码说明:
说明: 创建一个复数类,定义属性:实部、虚部。定义方法:复数加法、复数减法、复数乘法、求实部,求虚部,将复数输出,判断两个复数相等。通过一个类举例验证这些方法(Create a complex number class, custom attributes: the real part, imaginary part. Definition method: complex addition, complex subtraction, multiplication, complex, realistic Department, seeking the imaginary part, the complex output, determine the two complex numbers are equal. Verified through a class example of these methods)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!