This preview shows page 1. Sign up to view the full content.
Unformatted text preview: The [-] indicates that the negative sign is optional, and the [+/-] indicates that there is either a plus or minus sign. The parameters <number> are a floating point number and <operation> is a plus, minus, or multiplication sign. See the sample output below for further clarification. Note that your program does not need to take care of inputs that do not conform to the accepted format. Sample Output Enter an imaginary equation: -1.23 + 4.56i + 2.34 - 5.67i z = 1.11 + -1.11i Continue (Y/N)Y Enter an imaginary equation: 1.23 - 4.56i - 2.34 + 5.67i z = -1.11 + -10.23i Continue (Y/N)Y Enter an imaginary equation: 1.2 - 4.5i * 2.3 + 3.4i z = 18.06 + -6.27i Continue (Y/N)n...
View Full Document
- Spring '10