Module 3 - Final Python Project: Convert Celsius to Farenheit, and Vice Versa Submit Assignment DueWednesdayby11:59pm Points100 Submittinga text entry box or a file upload Here are the formulas for...


Module 3 - Final Python Project: Convert Celsius to Farenheit, and Vice Versa

Submit Assignment

  • DueWednesdayby11:59pm

  • Points100

  • Submittinga text entry box or a file upload


Here are the formulas for converting F to C and C to F:


T(°F)= T(°C)× 1.8 + 32(Farenheit= Celsius * 1.8 + 32)


T(°C)= (T(°F)- 32) / 1.8(Celsius = (Farenheit - 32) / 1.8)


Note: 1.8 = 9/5


Create an algorithm that does the following:




  • Display the following menu to the user:


Enter your selected option:



  1. Convert Celsius to Farenheit

  2. Convert Farenheit to Celsius

  3. End Program





    • Use an if-statement to determine which value to get from the user, and which formula to use.

    • Create a function for CelsiusToFarenheitand another function for FarenheitToCelsius

    • Call the appropriate function according to the user's selection.

    • From each of the functions, ask the user for the temperature, and then display the converted temperature.



Mar 11, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here