Monday, October 21, 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 journey of Jagat Mandir School

13 Years of ExperiencE It is also said that school is next home of every child. "failing and learning" Teacher are like gods....