--Originally published at Diego Casillas Yamamoto TC1017
In my code I add a part for imaginary numbers, so if the user type a negative number the program ask the user if he wants to convert the negative number to a positive or continue with the negative number and if the user tells that he want the negative number then the program use the square root function the result is an imaginary number.
https://www.dropbox.com/s/qtehyma8gf45ycj/quiz3.cpp?dl=0