Question: Language: C++ with comments Class Design Exercise OK, so now I want you to test your design chops: Design & declare a class called Phasor

Language: C++ with comments
Class Design Exercise OK, so now I want you to test your design chops: Design & declare a class called "Phasor" (or similar name). The class must have the following capabilities 1. Be able to add, subtract, multiply & divide two members of the class 2. Be able to add, subtract, multiply & divide by a scalar quantity (use double); 3. Be able to create an instance of the class from class "complex" that we've discussed in 4. And yes, you must include the OCF and accessor methods in your declaration Your homework should be in the form of an appropriately-named header file. You do not need to implement the methods in a CPP file, but are welcome to do so I deliberately am giving you a fair amount of design freedom here. If you have any "what about..." questions-you're the engineer, so you decide
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
