Design and implement an ADT that represents a Temperature class. The data of the ADT should include a temperature value and a scale (Celsius or Fahrenheit). The initialization operation should set the data to client supplied values. Include an operation for converting the temperatures from one scale to another, and displaying the values in both scales. The conversion equations are:
C = 5(F -32)/9
F = (9*C/5) + 32;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here