WSQ05 – Temperature

código

#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
float Fa,Ce;
cout <<“Temperaturer”;
cout <<“nWhat is the temperature in Fahrenheit?”;
cin >>Fa;
Ce = 5 * ( Fa – 32 ) / 9;
cout <<“A temperature of ” << Fa <<” degrees Fahrenheit is ” << Ce <<” in Celsius.”;

if (Fa <= 32)
{
cout <<“nWater does not boil at this temperature (under typical conditions).”;
}
else
{
cout <<“nWater boil at this temperature (under typical conditions).”;
}
getchar();
return 0;
}

CC BY-SA 4.0 WSQ05 – Temperature by perape is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.