code: public static double convertToFarenheit (TemperatureScale from, double temperature) {
  
          switch(from) {
  
              case FARENHEIT:
                  return temperature;
              case CELSIUS:
                  return convertCelsiusToFarenheit(temperature);
              case KELVIN:
                  return convertKelvinToFarenheit(temperature);
              case RANKINE:
                  return convertRankineToFarenheit(temperature);
              default:
                  throw(new RuntimeException("Invalid termpature conversion"));
          }
      }
docs: Convert a temperature value from another temperature scale into the Farenheit temperature scale.
  
  @param from TemperatureScale
  @param temperature value from other scale
  @return converted temperature value in degrees Farenheit