DECLARE SUB Temperature (F)
CLS
Input"Enter the temperature in Fahrenheit"; F
CALL Temperature (F)
END
SUB Temperature (F)
Temperature in Celsius= (5(f-32)/9)
Print"The temperature in Celsius"; Temperature in Celsius
END SUB
Questions
Quick Access
Exam Capsule
MCQ
Articles
Institutes
Notices
Top Topics
Write a program using SUB...END to display temperature in Celsius of a temperature input in Fahrenheit. (Hint: Celsius =5 (Fahrenheit-32)/9)
DECLARE SUB Temperature (F)
CLS
Input"Enter the temperature in Fahrenheit"; F
CALL Temperature (F)
END
SUB Temperature (F)
Temperature in Celsius= (5(f-32)/9)
Print"The temperature in Celsius"; Temperature in Celsius
END SUB
Who is a system analyst? What are the characteristics of system analysts? 1
What are the different stages of the system development life cycle (SDLC) 1
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
How does an AI application work? Can a computer really think with the aid of AI? 1
PathshalaNepal.com is a Registered Company of E. Pathshala Pvt Ltd Nepal. Registration number : 289280
© 2020. All right Reversed.E. Pathshala Pvt Ltd