program TimeOfDay;
varhours: integer;
beginwrite('Enter the current time (in hours): ');readln(hours);
if (hours >= 0) and (hours < 12) thenwriteln('It is before noon')elsewriteln('It is after noon');end.
program TimeOfDay;
var
hours: integer;
begin
write('Enter the current time (in hours): ');
readln(hours);
if (hours >= 0) and (hours < 12) then
writeln('It is before noon')
else
writeln('It is after noon');
end.