Search This Blog

Tuesday, October 22, 2019

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
CONVERT=C
END FUNCTION

No comments:

Post a Comment

My journy with Jagat Mandir

10 years of journy with JM it was the most important day of my life i spend my 10 years with this school . I am so happy that i could spend...