ok, i made a program that adds 2 sets of real and imaginary numbers

like so

(4, 3.5i) + (5, 2.6i) = (9 , 6.1i)

ok

i got all the functions working and everything. the output is the problem, i have all the numbers set to doubles, and it prints out

-1.07374e+008

obviously this is wrong :) once again i set ALL the variables to double

any help is greatly apreciated.