- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
uses
crt;
var
  chasov,
 minutov,
sekundov :byte;
tekushchiy_sekund:word;
begin
clrscr;
write('   chasov ');
read(     chasov);
if chasov=9
           then
               begin
                    clrscr;
                    halt;
               end;
write('  minutov ');
read(    minutov);
write(' sekundov ');
read(   sekundov);
clrscr;
for tekushchiy_sekund:=1
to sekundov+60*minutov+3600*chasov do
  begin
       if keypressed then
                         if readkey=#27
                                       then halt;
       delay(50000);
  end;
sound(300);
readkey;
nosound;
end.





 Follow us!
 Follow us!