converter Fahrenheit em Celsius
#include<iostream>
using namespace std;
float scropio(float happy);
int main()
{
float celcious;
float fahrenhiet;
cout<<"Please enter the tem in Fahrenhiet=";
cin>>fahrenhiet;;
cout<<"F.";
celcious=scropio(fahrenhiet);
cout<<"\nCelcious="<<celcious<<" C."<<endl;
cout<<endl;
return 0;
}
float scropio(float fahrenhiet)
{
float celcious;
celcious = ((fahrenhiet-32)*5/9);
return celcious;
}
Scorpion king