Write A program in QBasic to accept human temperature in Fahrenheit and Convert into Centigrade using INPUT Statement
Answers
Answered by
0
Answer:
To begin, write down everything from the program below ("PRINT "Hello World") into a text editor or into the QBasic IDE (Integrated Development Interface) itself and save it as "1HELLO. BAS". Next open the file in QBasic (unless you used QBasic IDE in which case it is already open) and press F5.
Answered by
0
Program to Convert Centigrade to Fahrenheit
Answer:
Explanation:
Cls
Rem program to convert centigrade to fahrenheit
Print "conversion of centigrade to fahrenheit"
Input "Enter the temperature in centigrade="; centigrade
constant = (9 / 5)
Fahrenheit = centigrade * constant + 32
Print centigrade; "centigrade will be"; Fahrenheit; "Fahrenheit"
End
Similar questions