13)CONVERT TEMPERATURE IN CELCIUS TO FAHRENHEIT.(FUNCTION)
DECLARE FUNCTION CONVERT(C)
CLS
INPUT "ENTER CELCIUS "; C
PRINT "CELCIUS TO FAHRENHEIT ";CONVERT(C)
END
FUNCTION CONVERT(C)
F =9 *C / 5+32
CONVERT = F
END FUNCTION
CLS
INPUT "ENTER CELCIUS "; C
PRINT "CELCIUS TO FAHRENHEIT ";CONVERT(C)
END
FUNCTION CONVERT(C)
F =9 *C / 5+32
CONVERT = F
END FUNCTION
0 comments