1 min read
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:/
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:/
And I will share some pictures, one of them is my c++ code and the other one is the program working.
WSQ05 – Temperature by Tania Pardo is licensed under a Creative Commons Attribution 4.0 International License.