KedrikFeeD

программы с If поТеме 5.1 (3)

Jun 29th, 2020
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.33 KB | None | 0 0
  1. program BIT;
  2. var a,b,c,max: integer;
  3. begin
  4.  
  5.   Writeln('Чтобы найти большее из трех просто введите эти числа: ');
  6.   Readln(a,b,c);
  7.   max := a;
  8.   if (max < b) then
  9.     max := b;
  10.   if (max < c) then
  11.     max:= c;
  12.   writeln('Максимум из максимума: ', max);
  13.  
  14. end.
Add Comment
Please, Sign In to add comment