1 double fahrenheittocelsius double f this function should convert the supplied fahr 5346555

1) double fahrenheitToCelsius(double f)

This function should convert the supplied Fahrenheit value into its Celsius equivalent. The formula for doing so is:

2) double kelvinToCelsius(double k)

This function should convert the supplied Kelvin value into its Celsius equivalent. The formula for doing so is:

3) double getTemperature(TemperatureScale_t scale) const

This function returns the internal representation of the temperature, stored in Celsius, to the requested temperature scale.

4) void addTemperature(double temperature, TemperatureScale_t scale)

This function adds the specified temperature, using the specified scale, to the current temperature.

5) void subtractTemperature(double temperature, TemperatureScale_t scale)

This function subtracts the specified temperature, using the specified scale, to the from the current temperature.

6) string toString(TemperatureScale_t output_scale = Celsius)

This function converts the Temperature into its string representation. The conversion to Celsius is already provided and can be used as a template for outputting as Fahrenheit and Kelvin.

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now