Показать сообщение отдельно

  #4  
Старый 01.04.2008, 22:12
TOLIA
Познающий
Регистрация: 20.08.2007
Сообщений: 54
Провел на форуме:
290115

Репутация: 25
По умолчанию

КОНЕЧНО НЕ ТО НО ВСЕ РАВНО СПАСИБО, НУЖНО БЫЛО ТИПО ТОГО

Цитата:
program Titov_Papa;
uses crt;
var chislo, zchislo, n: integer;
begin
clrscr;
randomize;
n:=0;
zchislo:=random(10);
repeat
n:=n+1;
writeln('Input chislo: ');
readln(chislo);
if chislo=zchislo then writeln('Very Good!!!');
if chislo<zchislo then writeln('BOLSHE');
if chislo>zchislo then writeln('MENSHE');
until (zchislo=chislo) or (n=5);
if n=5 then
begin
writeln('LIMIT POPYTOG ISCHEPAL, VY PROIGRALI, BECKHAM - LOL');
writeln('BYLO ZAGADOANO CHISLO: ');
writeln(zchislo);
end;
readkey;
end.
 
Ответить с цитированием