Question: You are to write a program that will use a menu to let you manipulate complex numbers. Your program should allow you to add, subtract,
You are to write a program that will use a menu to let you manipulate complex numbers. Your
program should allow you to add, subtract, multiply, divide, conjugate, and negate complex numbers.
Menu Options:
Add
Subtract
Multiply
Divide
Conjugate
Negate
Toggle Menu
Quit
You will write functions "ReadComplex" and "WriteComplex" to help you.
In this program you will also need to make use of "typedef", and write functions like "negate" to
return objects of type "Complex".
Since "real programmers don't use menus", you should be able to turn your menus on or off at will.
You are required to make use of separate compilation with a minimum breakdown of typedefs, IO
functions, arithmetic functions, and main program.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
