c++ to python code converter online
#include
#include
using namespace std;
int main()
{
double temp;
double speed;
cout <<"Enter the temperature in Fahrenheit :";
cin >> temp;
cout << endl;
cout <<"Enter the wind speed in miles per hour :";
cin >> speed;
cout << endl;
double wind_chill_index = 35.74+0.6215*temp-35.75*pow(speed,0.16)+0.4275*temp*pow(speed,0.16);
cout <<"The wind chill index is " << wind_chill_index << endl;
system("pause");
return 0;
}
|