Question: C++ An input of user enter temperature or ask someone weight, height, name, age This assignment focuses on operator overloading but is non-prescriptive as to
C++
An input of user enter temperature or ask someone weight, height, name, age
This assignment focuses on operator overloading but is non-prescriptive as to implementation. In other words, its up to you to design a class to demonstrate the required operator overloads. Note: You may need a Driver to demonstrate your codes operations. A Driver is a program that does nothing but test a method. In other words, you need a main() that is used to test your created object and actions (e.g. operator overloads). Object Design Design an object with at least the following: [2 Points] At least one arithmetic operand (+ -/ *) [2 Points] At least one compound operand (+= -= /= *=) [2 Points] At least one comparison operand (== !=) Driver Object Demonstrate that the following works (e.g. display results to the screen in a coherent way) [1 Point] Object creation/instantiation [1 Point] At least one arithmetic operand (independent of the compound operand) [1 Point] At least one compound operand [1 Point] At least one comparison operand Additional Grading Criteria: 0 points if program does not compile/run successfully Up to 3 points deduction if invariants are not enforced Up to 1 point deduction for lack of any commenting and/or lack of descriptive names
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
