Files
honey/programs/temperature.hon
T

7 lines
155 B
Plaintext

to_fahrenheit proc(celsius float) float { return celsius * 9 / 5 + 32 }
main proc() float {
temperature :: 20
return to_fahrenheit(temperature)
}