//File : lab3Definitions.cpp //Author : Andre Long //Due : September 27, 2004 //Description : These are the function definitions of the "complex" class #include #include "lab3Header.h" /******************************************************* * Gets input from the user with X value * *******************************************************/ void complex::read(float xReal) { cin>>xReal; x = xReal; y = 0; } /****************************************************** * Gets input from user with X and Y values * ******************************************************/ void complex::read(float xReal, float iImaginary) { cin>>xReal>>iImaginary; x = xReal; y = iImaginary; } /****************************************************** * Prints results of operations to the screen * ******************************************************/ void complex::write() { if(y>=0) { cout<