Question: Time left 0:58 A computer scientist working in image processing is working on discrete Fourier transform. He needs an implementation of complex number to use
Time left 0:58 A computer scientist working in image processing is working on discrete Fourier transform. He needs an implementation of complex number to use in his program. Write a program to implement addition, subtraction & Multiplications. For example when the complex numbers are 3+2i, 1+7i the output should be 4+9i 2-51 - 11+23i Input Format Real part of complex number 1 Imaginary part of complex number 1 Real part of complex number2 Imaginary part of complex number2 Output Format Resultant complex number represented as real part +/- imaginary part followed by an 1 For example: Test Input Result 1 3 2 1 7 4+91 2-51 -11-23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
