Przelicz Celsjusza na Fahrenheita
#include<iostream>
using namespace std;
float scropio(float happy);
int main()
{
float celcious;
float fahrenhiet;
cout<<"Please enter the tem in Celcious=";
cin>>celcious;
cout<<"F.";
fahrenhiet=scropio(celcious);
cout<<"\nFahrenhiet="<<fahrenhiet<<" F."<<endl;
cout<<endl;
return 0;
}
float scropio(float celcious)
{
float fahrenhiet;
fahrenhiet = ((celcious+32)*9/5);
return fahrenhiet;
}
Scorpion king