Celsius into fahrenheit using function.

Convert temperature in celsius in fahrenheit using function procedure.

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