Program to convert temperature in into fahrenheit using FUNCTION
DECLARE FUNCTION CONVERT(C)
CLS
INPUT"ENTER TEMPERATURE IN CELCIUS";C
PRINT"Temperature in fahrenheit=";CONVERT(C)
END
FUNCTION CONVERT(C)
F=9*C/5+32
F=9*C/5+32
CONVERT=C
END FUNCTION
No comments:
Post a Comment