write a C- program to deal with any two complex numbers. The program must contain at least five functions

- Add – to add two complex numbers passed to it

- Subtract – subtract two complex numbers passed to it

- Multiply -to multiply two complex numbers passed to it

- Divide - to divide two complex numbers passed to it

- Display -to display a complex number

(You can give your functions different names)

If you don't do your homework yourself, you'll never be able to program! Understand how complex numbers work (their mathematical operations). Decide how you want to store a complex number (hint: think struct for C, class for C++) and how you want to represent a complex number in input and output. Implement the main "driver" program and the functions. Submit and collect your grade.

Ask Your Question

Weekly Poll

Do you think broadband providers should eliminate all data caps?

Discuss in The Lounge

Poll History