Photo Credit: https://flic.kr/p/fdp6TQ Hello friends, The activity was so easy, I only check this page: http://www.dreamincode.net/forums/topic/218492-expected-primary-expression-before-else/ It talks about how to use conditions. Here is my code: https://github.com/BrayanGc/Codigos/blob/master/Temperatura.cpp
Temperature I really thought that this WSQ will be way more difficult but it is actually not… the only different thing to do was the if/ else… so it was really easy. The book really helps.. everything is in there.
(Credit goes to http://9gag.com/gag/2687338) For this assigment I had to convert Fahrenheit to Celsius. So first, I chose a number (which was 57, I don’t know why), and then I started to write the code in Atom. As you can see in the next image: I didn’t had a lot of trouble in this WSQ like […]
This program was a harder to do than the last one, it has a lot more of code and you need to understand what the function and conditionals are.
To now how to use the functions and conditions, you just have to read chapters 3 and 4 of the book, is actually pretty simple.
The real problem is when you start to writte the code because you start to confuse yourself and you reach a point when you don`t know what the heck are you writting, but if you manage to get over that point, you`re goint to see that in fact the program is really easy to do.
If you need help with your code, I`ll leave you my link to my code in github. (https:/
THANKS FOR READING!!!
Have a look at how my computer looked like, when I was trying to do this assigment.
Hey, today I learned how to convert temperatures from fahrenheit into Celsius. I had issues concerning decimals but I found how to fix it with « float ». At the beginning I used « int », which do not take in account numbers such « 42,5 » for example. The other issue was to add a condition if the water boil or… Lire la suite #WSQ05 – TEMPERATURE
Hey, today I learned how to convert temperatures from fahrenheit into Celsius. I had issues concerning decimals but I found how to fix it with « float ». At the beginning I used « int », which do not take in account numbers such « 42,5 » for example. The other issue was to add a condition if the water boil or… Lire la suite #WSQ05 – TEMPERATURE
Hey! here is my temperature program where I used “if” and “else” for the conditions.
To make this WSQ I had just a little trouble, a 5 minute issue about how to write the else statement, since I got like, 7 syntax erros when I tried to run it, but finally I figured it out, you just have to write else: after the if statement, just like in the picture, […]
Today i made my third program on C++, it was a bit more challenging but at the end it turned out to be easier than expected. It consisted on asking the temperature in Fahrenheit, turning it to Celsius and returning a comment about wether water would or would not boil at that temperature. I decided to change it a bit and also include if water would freeze at that given temperature. I didn’t do much research since I had used conditionals on other programming languages. This is a screenshot of the program and the result:
Thanks for taking your time to watch this, here’s a hot potato:
Image Source:http:/
My third program is ready! It was easy because I have previous knowledge with the other practices and in my high school they teach me how to program in C# of Microsoft Visual. Its different, yes, but it give me the… Continue Reading →