Thursday, October 18, 2012

Lab assignment #4 - temp2.bas

Problem Description
Allow the user to enter a sequence of temperature in degrees Celsius (C) terminated by -999. For each one, find the corresponding temperature in degrees Fahrenheit (F). Use the same formula as in lab assignment #2.

Input Requirements
Provide the user with a friendly prompt for information.

A TEMPERATURE CONVERSION PROGRAM
When you enter a temperature in degrees Celsius,
the computer will print the corresponding
Fahrenheit temperature.
Enter -999 to terminate the program.

Celsius temperature?


Output Requirements
Use a PRINT statement to print results to the monitor.
Print the Fahrenheit temperature in BRIGHT RED and the Celsius in BRIGHT GREEN.

Sample Output
Here is a screenshot of my code running.

Lab assignment #4 - output

Due Date:
Tuesday, October 23rd, 8am