#include <stdlib.h>
#include <iostream>
#include <stdio.h>
#include <cstdlib>
using namespace std;
int main()
{
float temp;
cout<<"Enter the temperature"<<endl;
cin>>temp;
if (temp < 0) cout<<"ICE"<<endl;
else
if (temp >= 0 && temp <= 100) cout<<"WATER"<<endl;
else
cout<<"STEAM"<<endl;
system("pause");
return 0;
}
Comments
Leave a comment