convertir Kelvin à Fahrenheit
#include<iostream>
using namespace std;
float program(float mamo);
int main()
{
float kalvin;
float fahrenhiet;
cout<<"Please Enter your Tem in Kelvin=";
cin>>kalvin;
fahrenhiet=program(kalvin);
cout<<"\nFahrenhiet="<<fahrenhiet<<".F"<<endl;
return 0;
}
float program(float kalvin)
{
float fahrenhiet;
fahrenhiet=(9/5*(kalvin-273.15)+32);
return fahrenhiet;
}
Scorpion king