Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
586 views
in Computer by (51.9k points)
closed by

Write a Python program to convert temperature in degree Celsius to degree Fahrenheit. If water boils at 100 degree C and freezes as 0 degree C, use the program to find out what is the boiling point and freezing point of water on the Fahrenheit scale. 

(Hint: T(°F) = T(°C) × 9/5 + 32)

1 Answer

+1 vote
by (49.5k points)
selected by
 
Best answer
Program:

#defining the boiling and freezing temp in celcius

boil = 100

freeze = 0

print('Water Boiling temperature in Fahrenheit::')

#Calculating Boiling temperature in Fahrenheit

tb = boil * (9/5) + 32

#Printing the temperature

print(tb)

print('Water Freezing temperature in Fahrenheit::')

#Calculating Boiling temperature in Fahrenheit

tf = freeze * (9/5) + 32

#Printing the temperature

print(tf)

OUTPUT:
Water Boiling temperature in Fahrenheit::

212.0

Water Freezing temperature in Fahrenheit::
32.0

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...