Wednesday, October 2, 2019

13) CONVERT TEMPERATURE IN CELCIUS IN FARENHEIT (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

No comments:

Post a Comment

My Journey with JM

MY JOURNEY WITH JAGAT MANDIR It has been almost 10 years since I have entered this school. It seems like just yesterday but now I...