Convert temperature in Celsius in farenheit using function
DECLARE FUNCTION CELSIUS(F)
CLS
INPUT"ENTER FARHRERHEIT";F
PRINT"FAREHRENHEIT IN CELSIUS";CELSIUS (F)
END
FUNCTION CELCIUS(F)
C=5*(9*(F-32))
CELCIUS=C
END FUNCTION
Comments
Post a Comment