IdeasCuriosas - Every Question Deserves an Answer Logo

In Computers and Technology / High School | 2014-08-05

Allow the user to enter a series of temperatures in degrees Celsius (C) terminated by the input of –999. For each temperature entered, find the corresponding temperature in degrees Fahrenheit (F) using the conversion formula:

\[ F = \frac{9}{5} \times C + 32 \]

Asked by Anonymous

Answer (2)

The flow chart would go:

Start
Input C (Celsius)
IF C = -999 THEN END
Calculate F (Fahrenheit) using the formula
Output F
Goto next temperature (Input C)
The above needs tidying up and coding in the computer language you are using.

Answered by Trim | 2024-06-10

To convert temperatures from Celsius to Fahrenheit, use the formula F = 5 9 × C ​ + 32 . The input continues until the user types -999 to stop. Each entered temperature is converted and outputted before returning to the input prompt.
;

Answered by Trim | 2024-11-07