c program that can add, subtract, divide, mul

October 5, 2010 at 21:22:22
Specs: Windows XP
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)


See More: c program that can add, subtract, divide, mul

Report •


#1
October 10, 2010 at 20:01:29
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.


Report •
Related Solutions


Ask Question