Java Script program to enter temperature in Celsius and convert it into Fahrenheit

Write a Java Script program to enter temperature in Celsius and convert it into Fahrenheit

java script programming

Write a Java Script program to enter temperature in Celsius and convert it into Fahrenheit

Fahrenheit and centigrade are two temperature scales in use today. The Fahrenheit scale was developed by the German physicist Daniel Gabriel Fahrenheit . In the Fahrenheit scale, water freezes at 32 degrees and boils at 212 degrees.

The centigrade scale, which is also called the Celsius scale, was developed by Swedish astronomer Andres Celsius. In the centigrade scale, water freezes at 0 degrees and boils at 100 degrees. The centigrade to Fahrenheit conversion formula is:

				
					 <script>
        let c,f,t
        c=parseInt(prompt("Enter Celsius"))
         F = c*(9/5) + 32
        alert(F)
 </script>
				
			
Spread the love