WSQ05 Temperature

There comes a moment in one’s carrer, mostly engineers, where there is a given temperature in Fahrenheit, but one has to convert it to Celsius. Rather than looking for the particular formula, which is  C = 5 ∗ (F − 32)/9, one prefers to use a direct converter. For this assignment Ricardo will be programming one to help others carry out their laziness at work.

rayquaza

The first part of the program was basic. It’s just defining x which the user defines according to the Temperature in Fahrenheit that the user wants to conver. After that, using the equation previously mentioned, the program converts the amount given into Celsius. Success!

temperatura

The can of worms over here was the conditional ‘If’ since Ricardo never succeeded to submit it correctly. The assignment gave the instruction to program wheter or not the water boils at the temperature given by the user. After researching on Google, it is known that water boils at 212 F° or 100 C°

CC BY-SA 4.0 WSQ05 Temperature by rhcpalmarichie is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.