Jump to content

Temperature conversion: Difference between revisions

no edit summary
(Add CLU)
No edit summary
Line 2,342:
Fahrenheit: %.2f °F
]],convert_temp(21.0)))</lang>
 
=={{header|Liberty BASIC}}==
 
<lang Liberty BASIC>Do
Input "Kelvin degrees (>=0): "; K
Loop Until (K >= 0)
 
Print "K = ";K
Print "C = ";(K - 273.15)
Print "F = ";(K * 1.8 - 459.67)
Print "R = ";(K * 1.8)
End</lang>
 
{{out}}
<pre>Kelvin degrees (>=0): 21
K = 21
C = -252.15
F = -421.87
R = 37.8
</pre>
 
=={{header|Maple}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.