Question: can anyone write this question in C language using struct and pointers. Complex numbers: multiplication and division Two complex numbers are given. Find their product
can anyone write this question in C language using struct and pointers.
Complex numbers: multiplication and division Two complex numbers are given. Find their product or quotient. Input Each line contains an example of multiplication or division of complex numbers. The complex number is given in the format a+bi or a-bi, where a is integer, b is non-negative integer. The real and imaginary part of each complex number is no more than 10 by absolute value. Output For each input example, print in a separate line the answer. Time limit 1 second Memory limit 128 MiB Input example #1 2+3i * 7-41 12-4i/ 5-4 -1-1i * -1-1i 5-2i / -7+12i Output example #1 26.00+13.00i 1.85+0.68i 0.00+2.00i -0.31-0.24i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
