#include <iostream>
using namespace std;

int main ()
{
int a,c,b,d;
cout << “Coloca grados” << endl;
cin >> a;
c= 5*(a-32)/9;
if (c>100)
{
cout << “gaseoso” <<endl;
}
else if (c<0)
{
cout << “solido”;
}
else
{
cout <<“líquido”;
return 0;
}
}

CC BY 4.0 Temperature by ferny580 is licensed under a Creative Commons Attribution 4.0 International License.