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:
1 Add
2 Subtract
3 Multiply
4 Divide
5 Conjugate
6 Negate
7 Toggle Menu
8 Quit
You will write functions "Read_Complex" and "Write_Complex" 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, I/O
functions, arithmetic functions, and main program.
 You are to write a program that will use a menu

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!