#include <iostream.h>
#include <conio.h>
int main()
{
clrscr();
double temp; //declaration
cout <<"Enter today's temprature (celsius) : ";
cin >> temp;
if (temp<0)
{
cout <<"freezing " <<endl;
}
else if (temp<13)
{
cout <<"cool " <<endl;
}
else if (temp<41)
{
cout <<"hot " <<endl;
}
else
{
cout <<"very hot " <<endl;
}
getch();
return 0;
}
#include <conio.h>
int main()
{
clrscr();
double temp; //declaration
cout <<"Enter today's temprature (celsius) : ";
cin >> temp;
if (temp<0)
{
cout <<"freezing " <<endl;
}
else if (temp<13)
{
cout <<"cool " <<endl;
}
else if (temp<41)
{
cout <<"hot " <<endl;
}
else
{
cout <<"very hot " <<endl;
}
getch();
return 0;
}