WSQ 02 – Temperature (Week 03)

--Originally published at Ernesto's Computing Works

Para el #wsq02 tuve que hacer un programa el cual el usuario diera una temperatura en grados farenheit y el obtuviera como respuesta esa temperatura pero ahora en grados celcius, ademas el programa debía decir si a esa temperatura podio o no hervir agua y en que estado de la materia estaba, ya fuera solido, liquido o gaseoso. Este programa no se me hizo tan difícil de resolver porque nuestro profesor Ken ya nos proporcionaba la formula para hacer el cambio de temperatura.

Screenshot 2017-08-25 10.55.59.png

En este programa cubro el mastery topic 10, de hecho casi todo el programa se baso en el uso del conditional (if), que su función es poner una condición para que algo suceda o no si no la cumple simplemente no sucede nada. Era la primera vez que usaba el conditional if pero se me hizo muy fácil de realizar la verdad, en lo único que batalle fue en saber poner la condición de cuando el agua es liquida.


Temperatura

--Originally published at RON

Esta práctica fue algo muy divertido pues con lo poco que sabia, me aventure a lo desconocido y prácticamente el código salio espontaneo, claro con la ayuda de mi profesor y algunos compañeros, pero realmente me encanto esta práctica. Dejo mi link para que chequen mi archivo .cpp, en la parte inferior.#WSQ02

Enlace código cpp:

https://drive.google.com/a/itesm.mx/file/d/0BwFGq6oJuVvVbTFTOTY3MmlGUmM/view?usp=sharing


Homework 02

--Originally published at Blog de Esteban

This program makes the convartion of Fahrenheit degrees to Celsius.

I had a problem while I was doing it, I was sure that my code was right but it has a little mistake that was the “>>”” for cin, but finally, after 10 minutes of analyzing my code, I noticed the dumb mistake.

Download link: https://www.dropbox.com/s/x5wxgohybwrpcoc/Tarea2.cpp?dl=0

Temperature

--Originally published at Valeria CT

For this assignment, the challenge was to learn how to use conditionals. This, in comparison to the previous assignments, was easy for me because I did a program in middle school with this language that consisted basically of these functions. You can find a screenshot of my code above.

– Valeria


Temperature – WSQ-02 (Python)

--Originally published at TC1017 (Python3) – Titel der Website

Hello students and friends,

i wrothe a new programm. It is about the temperature in Farenheit and in Celcius.

 

WSQ02 - SourceCode - Temperature.PNG

Line 3 is prompt. The Keyword input want something from the User. (In this Case the Temperature in Farenheit).

You may think that for example the number 100 will be safed as an int. But python3 safe every singel tocken as a String.

For showing the Temperature in Celcius, it is important to convert the String f in a float.

WQS02 - Ergebnis - Temperature.PNG

This is the result of my Source Code.

 

Best regards

Sercan Asker