Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Instruction: Fix the errors in the lines 14,36 and 49 JorgeProyecto.5 (Global Scope) Q#include #include #include 2 E 6 0 00 : M HY

C++ Instruction: Fix the errors in the lines 14,36 and 49 image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
JorgeProyecto.5 (Global Scope) Q#include #include #include 2 E 6 0 00 : M HY using namespace std; #include int conjugate(); int polar(); int rec_polar(); int subtraction(); int multiplication(); int main(); B{ int choice = 0; while (true) { cout > choice; switch (choice) { 30 > 0 % - tror List Warnings A Messages Build + IntelliSense JorgeProyecto.5 (Global Scope) -0-0 24 switch (choice) { case 1: { subtraction(); break; 28 case 2: { multiplication(); break; 32 E case 3: { conjugate(); break; case 4: { rec_polar(); break; case 5: { polar(); break; case 6: { return 0; A04 100% JorgeProyecto.5 (Global Scope) Explorer Toolbox default: printf("Wrong Input "); Gint conjugate() double real = 0.0, img = 0.0; cout > real; cin >> imag; std::complex my complex(real, img); cout > magnitude; cout > phase; cout > x; cout > y; cout > reali; cin >> img1; cout > real 2; cin >> imag2; cout > x1 >> y1; cout > x2 >> y2; x3 = x1 * x2 - y1 * y2; y3 = x1 * y2 + y1 * x2; 108 109 110 111 112 113 > reall; cin >> img1; cout > real 2; cin >> imag2; cout > xl >> yi; cout > x2 >> y2; x3 = x1 * x2 - y1 - y2; y3 x1 y2 + yi - X2; cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data With Hadoop MapReduce A Classroom Approach

Authors: Rathinaraja Jeyaraj ,Ganeshkumar Pugalendhi ,Anand Paul

1st Edition

1774634848, 978-1774634844

More Books

Students also viewed these Databases questions

Question

Explain the distinction(s) between agency funds and trust funds.

Answered: 1 week ago