nevermind, I figured my problem out
it was just simple code formatting errors
Temperature Conversion
its because 5 / 9 * (f - 32) = -17.77777778. f = 0. what you have to do is put the LET c = 5 / 9 * (f - 32) AFTER you input f.
so like this:
so like this:
Code: Select all
INPUT "Please enter a temperature in Fahrenheit"; f
LET c = 5 / 9 * (f - 32)
PRINT "A temperature of "; f ;" degrees Fahrenheight equals "; c ;" degrees celsius"
'
END