Цитата:
Сообщение от JOK3R
Program Euro2008;
var
RussiaPoints, GermanyPoints, RussiaPenaltyPoints, GermanyPenaltyPoints, Time:integer;
begin
1: Writeln('Welcome to the match Russia-Germany!');
for time:=1 to 90 do begin
if RussiaPoints>GermanyPoints then goto 3;
if RussiaPoints<GermanyPoints goto 1;
if RussiaPoints=GermanyPoints then goto 2;
2: if RussiaPenaltyPoints>GermanyPen altyPoints then goto 3, else goto 1;
3: writeln('Russia the champion of Euro 2008! Go drink Vodka! :)');
end;
end.
Давно последний раз писал на Паскале, но как то так! Возможны ошибки!
|
а где дополнительное время ?