Give short answers. Use: must / should / mustn' t/ shouldn’t / needn't. Must we stop near the market? — ... (Нет, не нужно.) ... (Her, нельзя.)

fd1132 fd1132    2   17.04.2019 04:30    2

Ответы
msneznot msneznot  04.06.2020 14:06
Var
  n:integer;
  s:string;
begin
readln(n);
case n mod 10 of
  1:s:=' год';
  2..4:s:=' года';
  0,5..9:s:=' лет';
  end;
case n mod 100 of
  11..19:s:=' лет';
  end;
writeln(n,s);
end.
ПОКАЗАТЬ ОТВЕТЫ
Другие вопросы по теме Другие предметы