#include<iostream.h>
#include<conio.h>
void main()
{
float t;
clrscr();
cout<<"Enter time in hours(24hr format like 14.20):"<<endl;
cin>>t;
if((t>=0.0)&&(t<12.0))
cout<<" Morning Time";
else if((t>=12.0)&&(t<18.0))
cout<<" Afternoon Time";
else if((t>=18.0)&&(t<24.0))
cout<<"Evening Time";
else
cout<<"Please specify time within the range.";
getch();
}