Tag Archives: #folders

WSQ05 – Temperature

1 min read

#WSQ05 #TC1017 #Temperature

For this activity we have to ask a temperature in Fahrenheit and convert it to Celsius.

First of all, I found useful information in our course book, in the part 4.2 Conditional execution; also we have to declare float variables because we are not using integer values, in this page I found some information about that:

http://www.tutorialspoint.com/cplusplus/cpp_variable_types.htm

The new thing that I learned in this activity is how to use the conditional “if/else”, the structure is really simple. In the condition “if” you only have to write a TRUE condition for an action, and you have to put “else” to indicate a FALSE condition for the same action.

In the following link you will find my c++ code:

https://drive.google.com/drive/#folders/0B-NM4ghaDXBvbk5Wcmc2R3d3V3c

And I will share some pictures, one of them is my c++ code and the other one is the program working.