Question regarding using only setters and variables correctly
问题 I am having an issue with my current programming assignment. I feel as though I am very close to having it correct, but something is off. I know that I have to do something different in order to make the program function correctly, as it doesn't work right now, but I am not sure what it is. I am struggling specifically with how to use a single private variable to make both kinds of temperatures. Here is the assignment: Make a Temperature class. The class should have a function for setting the