Night S.

asked • 09/16/21

Write this task in a PyDev module named t01.py. Write and test a program that uses the formula f=9/5c+32 to convert a celsius temperature to fahrenheit

Where:

  1. c: is a temperature in degrees celsius
  2. f: is a temperature in degrees fahrenheit
  3. Water freezes at 32 degrees fahrenheit

Both temperatures should be entered/displayed as integers.

Ask the user to enter the values to test.

There is a lower bound to temperature in Celsius. Look it up and consider how this could affect the program.

At what degree are Celsius and Fahrenheit temperatures the same? Experiment with your program to determine this.

Sample execution(s):

Temperature (C): 25

Temperature (F): 77.0



1 Expert Answer

By:

Siva J. answered • 09/25/21

Tutor
5.0 (449)

Software Consultant and Computer Science Faculty

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.