Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Note: This question was answered but its very comfuseing, in C++ language please

ID: 3765471 • Letter: N

Question

Note: This question was answered but its very comfuseing, in C++ language please help

Create a Temperature class that internally stores a temperature in degrees Kelvin. Create functions named setTempKelvin, setTempFarenheit, and setTemCelcius that an input in the specified scale, converts the temperature to Kelvin, and store the temperature in the class member variable. Also create functions that return and stored temperature in Kelvin, Fahrenheit, or Celsius. Write the main functions to test your class. Use the equations:

Kelvin = Celsius + 273.15

Celsius = (5.0/9) X (Fahrenheit -32.0)

Explanation / Answer

int main( int argc, char* argv[] )
{

{
    converter con;
    float k;
    while( true )
    {
            cout << "Enter the temperature in Kelvin to convert: ";
            cin >> k;
            con.convert( k );
            system( "pause" );
            system( "cls" );
    }
    return 0;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote