问题描述:
试用C语言的结构类型定义表示复数的抽象数据类型
(1)在复数内部用浮点数定义其实部与虚部; (2)设计实现复数的+、-、×、÷等运算的函数.要求运行界面如下:please input first complex number :a + bi the other one :c+ di please choice operation:+,-,* or /:+ (a + bi)+ (c+ di)=……
(1)在复数内部用浮点数定义其实部与虚部; (2)设计实现复数的+、-、×、÷等运算的函数.要求运行界面如下:please input first complex number :a + bi the other one :c+ di please choice operation:+,-,* or /:+ (a + bi)+ (c+ di)=……
问题解答:
我来补答展开全文阅读