Question: Please I need help for C++ Programming For this assignment the user will have the ability converting temperatures with the correct answer you will also

Please I need help for C++ Programming

For this assignment the user will have the ability converting temperatures with the correct answer you will also display the number entered and the scales used. This is an enum assignment so be sure to pay attention when going through this weeks information. See the minimum requirements below.

  • The user will have the ability convert any of the conversions listed below
  • The user will also have the ability to do as many conversions as they want
  • With the correct answer you will also display the number entered and the scales used (i.e. fahrenheit -> kelvin and etc...)
  • You will also need to use modules for everything
  • Use your Heading that you've made your own.
    • call it at the beginning of the program sending in the current assignment number
  • The menu() module that gives the user the choice of all conversions or to exit
  • I calculate youll need 9 modules (Note: this can only be done if youre creative with the argument list for the input and output modules, see below)
  • the Enum you are required to create and use
    • enum ConvType { CelToFah, KelToFah, FahToCel, CelToKel, KelToCel, FahToKel, Exit };
  • The function Prototypes for you to use
    • ConvType menu();
    • double ctoF(double);
    • double ktoF(double);
    • double ftoC(double);
    • double ctoK(double);
    • double ktoC(double);
    • double ftoK(double);
    • double inputTemp(string);
    • void outputGeneric(ConvType, double, double);

Scale range information:

CELSIUS:

  • Range of 100 steps
  • 0 degree Centigrade = freezing point of water
  • 100 degree Centigrade = boiling point of water

FAHRENHEIT:

  • Range of 180 steps
  • 32 degree Fahrenheit = freezing point of water
  • 100 degree Fahrenheit = body temperature of a person (not very accurate...)
  • 212 degree Fahrenheit = boiling point of water

KELVIN:

  • By writing temperatures in kelvins one does not need to use negative numbers
  • 0 K = coldest possible temperature is called absolute zero or zero kelvin
  • 15 K = freezing point of water
  • 310 K = normal temperature of a human body

Temperature Conversion Formulas Celsius, Kelvin, and Fahrenheit Temperature Conversions

The three common temperature scales are Celsius, Fahrenheit, and Kelvin. Each scale has its uses, so it's likely you'll encounter them and need to convert between them. Fortunately, the conversion formulas are simple:

Celsius to Fahrenheit (Links to an external site.)

F = 9/5 ( C) + 32

Kelvin to Fahrenheit (Links to an external site.)

F = 9/5 (K - 273) + 32

Fahrenheit to Celsius (Links to an external site.)

C = 5/9 ( F - 32)

Celsius to Kelvin (Links to an external site.)

K = C + 273

Kelvin to Celsius (Links to an external site.)

C = K - 273

Fahrenheit to Kelvin (Links to an external site.)

K = 5/9 ( F - 32) + 273

Useful Temperature Facts

  • Celsius and Fahrenheit are the same at -40.
  • Water boils at 100C or 212F.
  • Water freezes at 0C and 32F.
  • Absolute zero is 0 K.
  • Celsius and Fahrenheit are degree scales. The degree symbol is not used to report temperature using the Kelvin scale.

Article Citation:

Helmenstine, Anne Marie, Ph.D. "Temperature Conversion Formulas." ThoughtCo, Feb. 11, 2020, thoughtco.com/temperature-conversion-formulas-609324.

Previous

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!