Revise the class Temperature, by replacing the methods toFahrenheit, toCelsius, and to Kelvin with one method, to, that accepts a scale as an argument. Similarly, replace the methods convertToFahrenheit, convertToCelsius, and convertToKelvin with one method, convertTo, that accepts a scale as an argument.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here