Какое значение будет у переменной s, если a:=36; b:=38; if a>b then s:=0 else s:=b-a; if b>0 then s:=b else s:=a; if (a<b) and (b-a>10) then s:=1 else s:=0; 2 38 0
Задание

Какое значение будет у переменной s, если a:=36; b:=38;

  • Объекты 1
    • if a>b then s:=0 else s:=b-a;
    • if b>0 then s:=b else s:=a;
    • if \(a\\lt b\) and \(b\-a\\gt 10\) then s:=1 else s:=0;
  • Объекты 2
    • 2
    • 38
    • 0