Chapter 10: Problem 12
Given the following class definition, write an appropriate definition for the member function set: class Temperature \\{ public: void set(double new_degrees, char new_scale); //Sets the member variables to the values given as / / arguments. double degrees; char scale; //'F' for Fahrenheit or 'C' for Celsius. \\};
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.