Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(){
- float f, fahrenheit, celsius;
- cout<<"entre com a temperatura em Fahrenheit:\n";
- cin>>fahrenheit;
- f=fahrenheit-32;
- celsius=f/1.8;
- std::cout.precision(4);
- cout<<"a temperatura em celsius e:"<<celsius;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement