Created
March 30, 2013 22:44
-
-
Save bernardoVale/5278678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main() { | |
cout << "\nExercício Du Gay"; | |
//Declaracao de variaveis. | |
float temp,faren; | |
//Leitura | |
cout << "\nInforme a Temperatura:"; | |
cin >> temp; | |
//Aplicação da Fórmula F = C*1.8+32 | |
faren = temp*1.8+32; | |
//Exibe resultado | |
cout <<"Resultado:"<<faren; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment