文件名称: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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
p4-15.txt
email.gif
email.gif