Program to convert temperature from Fahrenheit to Celsius (GW-BASIC)

Convert temperature from Fahrenheit to Celsius

-Program:

10     REM Program to convert temperature from Fahrenheit to Celsius / Centigrade (GW-BASIC)
20     INPUT “Enter the temperature in Fahrenheit: ” ; F
30     LET C = 5/9 * (F – 32)
40     PRINT “The temperature in Centigrade is: ” ; C
50     END

-Algorithm:

STEP 1     START
STEP 2     INPUT F
STEP 3     COMPUTE C = 5/9 * (F-32)
STEP 4     PRINT C
STEP 5     END

Using the GW-BASIC emulator, I’ve created the following program:

Fahrenheit to Celsius (centigrade) using GW-BASIC

Fahrenheit (F) to Celsius (Centigrade) using GW-BASIC emulator


“My posts/articles/images are not allowed to be stolen/copied anywhere at Cyber space. Doing so will allow me to take a legal action against the copier.”

Related Posts

2 Comments

  1. Uvy says:

    Thanks for such nice instructions! I finally know how to make this program! 🙂

  2. Muhammad Farooq says:

    I need to draw a cube shape in GWBasic. Would you please help me by providing the code.

Leave a Comment

Kindly solve the following puzzle to prove that you\'re not a bot: