(adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-2960223314593660", enable_page_level_ads: true }); Program to convert the given temperature in celsius to fahrenheit - TecGlance

Header Ads

Program to convert the given temperature in celsius to fahrenheit



=============== CELSIUS TO FAHRENHEIT==============



 c=input("Enter Temperature in Celsius Scale :")

 f=(1.8*c)+32

 print "Temperature in Fahrenheit Scale is :",f





============== OUTPUT =========================



 Enter Temperature in Celsius Scale :37

 Temperature in Fahrenheit Scale is : 98.6



===============================================

No comments

Powered by Blogger.