Hello People...HAPPY BELATED THANKSGIVING...I'm having problems trying to get this Complex program to do certain functions...Here is my problems...
* Suppose that each complex number represent a point on XY-plane*Add one function to the complex class that calculate the distance from one point to another point* double distance( Complex a, Complex b );*Add the prototype in header file and function definition in source file*Write a driver program(contain main()function) that ask user to enter three complex numbers a,b,c( real and img part for each number)*Decide if the three point form a right triangle*Decide if the three points are on a same circle centered at (0,0)*Print a message that states if the three numbers will form a right triangle or on one same circle or neither...This is what I have so far...
thanks that's great but how can I apply this when the input from the user will be a set of numbers whereas I must take and then calculate whether it's a right triangle or on one same circle (0,0) or neither???