Implement Elementary Mathematical Operators On Complex Numbers In C++


This question considers implementation of elementary mathematical operations on complex numbers in C++ programming language. The code should allow user to enter the real and imaginary parts of two complex numbers, choose an operation (either addition, subtraction, multiplication or division) and calculate the result, printing it on the screen.

To write a working C++ code, demonstrating knowledge gained so far, in particular: variables, operators, functions and control flow (loops and branches), taking particular care about code comments.
To include appropriate documentation, including Software requirement specifications and proposed code improvements.
To include code planning documents, including flowcharts and pseudocode.


The question belongs to Computer Science and it discusses about writing a program in C++ which implements elementary mathematical operations on complex numbers. Operations such as addition, subtraction, multiplication or division can be used.

Total Word Count 380

Download Full Solution


  • HWA

    this is a very good website

  • HWA

    I have 50 questions for the same test your page is showing only 28

  • HWA

    hi can you please help or guide me to answer my assignments. thanks

  • HWA

    hi can anyone help or guide me to my assignments. thanks

  • HWA

  • HWA

    This solution is perfect ...thanks

  • HWA

    Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes

  • HWA

    Perfect bank of solution. 

  • HWA

    great !

  • HWA
    Paul Brandon-Fritzius

    thanks for the quick response. the solution looks good. :)

  • HWA
    tina Johnson

    thnx for the answer. it was perfect. just the way i wanted it. 

  • HWA

    works fine.