Wednesday, October 2, 2019

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

No comments:

Post a Comment

My JM Experience

School life is very important part of one's life, because it provides opportunity for study and discipline. Besides these, the scho...