Temperature #WSQ05

I have finished the next homework of the course making a program that convert from Fahrenheit degrees to Celsius un C++..

This time I got a little confuse about how to write the formulas and how to put a condition statement.

In order to solve this homework and have the right code, I watched a video in YouTube where I found how to write the condition and the correct use of the formulas to convert from Fahrenheit degrees to Celsius, And also a friend helped me with some inputs and outputs.

So I show you my code using Atom as editor and then the program working correctly.

And here is the program working correctly using Cygwin as terminal.
And then I also did the same code in order to make the same program but using CodeBlocks.
Here is my code from GitHub:
https://gist.github.com/DiegoNaterasPonce/69dd3757c06272470b92

CC BY-SA 4.0 Temperature #WSQ05 by Diego Nateras Ponce is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.