#include <iostream>
using namespace std;
int main() {
int temp;
cout << "Enter temperature: ";
cin >> temp;
if ( temp < 0 ) {
cout << "Less than 0 ICE"
<< endl;
return 0;
}
if ( temp < 100 ) {
cout << "Between 0 and 100 WATER"
<< endl;
} else {
cout << "Exceeds 100 STEAM"
<< endl;
}
return 0;
}
Comments
Leave a comment