Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please solve ASAP 3 The following program is similar to question 2. The Big 3 me

ID: 3564301 • Letter: P

Question

please solve ASAP

3 The following program is similar to question 2. The Big 3 methods were written so as to send messages to cout and the main program is simpler, In the program output, identify the object corresponding to each line of the output, File ector 3dbig3.cpp a class ich represents vectors in 3 space zinclude Kiostreatt using namespace std; class vector 3d private: float z; float y; float z Public: vectorad (float a 0, float b o 0, float c 0.0); vector 3d (const vector 3d& other); "vector 3d (void) rhs); vectorad& operators (const vector3d& accessor method prototypes as per question 2 prototypes of operators as per question 2 int main (void) vector3d u1, v (2.0,1.0) w (1.0,2.0, 3.0) vector 3d u2(w) return 0; vector d methods vectorad: vectorad(float a float b, float c) z Ci *this endl. cout creating vector3d vector3d: vectorad (const vector 3de other)

Explanation / Answer

creating vector3d: (0,0,0) <------ construction of u1
creating vector3d: (2,1,0) <------ construction of v
creating vector3d: (1,2,3) <------ construction of w
assigning vector3d: (2,1,0) <------ assignment operator assigning v to u1.
creating vector3d copy: (1,2,3) <------ copy constructor copy w to u2
creating vector3d: (3,-6,3) <------ construction of inside operator / on v and w.
assigning vector3d: (3,-6,3) <------ assignment operator assigning v / w to u1.
desroying vector3d: (3,-6,3) <------ desroying of temporary object creted in operator v / w
desroying vector3d: (1,2,3) <------ desroying of w
desroying vector3d: (1,2,3) <------ desroying of u2
desroying vector3d: (2,1,0) <------ desroying of v
desroying vector3d: (3,-6,3) <------ desroying of u1