updated calculator.cpp
#Added #include to accommodate negative values #line 29, case 1: Specify which number is numerator and which is denominator so the program is more user friendly #case 1: added error handling code for division by 0 #case 5: cant have negative exponent so added code to fix this bug, this is because a negative exponent is 1 divided by the inverse #case 6: added code for complex numbers use the complex in C++ of type float since a is a floating point #case 13 and 14: Log is not defined for anything 0 or under 0 added error handling code to fix the issue