print("program konversi temperatur")
celcius = float(input("masukkan suhu dalam celcius"))
print("suhu celcius = ", celcius, "celcius")
#reamur
reamur = (4/5)* celcius
print("suhu dalam reamure = ",reamur,"reamur")
#fahrenheit
fahrenheit = (9/5 * celcius) +32
print("suhu dalam fahrenheit = ",fahrenheit, "fahrenheit")
#kelvin
kelvin = celcius + 273
print("suhu dalam kelvin = ",kelvin,"kelvin")
Tidak ada komentar:
Posting Komentar