Question: using visual studio Write a program that prompts the user to enter four decimal values representing the real and imaginary parts of two complex numbers

using visual studio
Write a program that prompts the user to enter four decimal values representing the real and imaginary parts of two complex numbers 1) r1 is the real part of first complex number 2) im1 is the imaginary part of the first complex number 3) r2 is the real part of second complex number 4) im2 is the imaginary part of the second complex number Your program will then call the following function that will multiply the two entered complex numbers and returns back the product to the main function: void complex_multiply( parameter_list); // takes the real and imaginary fields of two complex numbers as input and returns back the result of complex multiplication to the main function. Note that, the product of the two complex numbers is accomplished as follows: r_product = r1 r2 - im 1 * im2; im_product = r1 im2 + r2 im1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
