Andrew K.

asked • 02/16/21

Conditionals_Lab_3

Create a program that converts a temperature from Celsius(C) to Fahrenheit(F) or Fahrenheit(F) to Celsius(C). User must have two inputs. One input is the temperature they are converting and the other asks if they are converting from C to F or F to C. The output should show the temperature that was inputted, if it was converted from C to F or F to C, and the converted temperature. Must include a function that does the C to F and F to C conversion.

  1. F= 1.8 x C + 32
  2. = (F - 32) x 5/9
  3. Use a menu to select the type of conversion
  4. eg.  Select F or C for temperature conversion
  5. F = Fahrenheit to Celsius
  6. C = Celsius to Fahrenheit 


1 Expert Answer

By:

Patrick B. answered • 02/17/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.