Var A,B,C,k:integer; Begin Write('A = ');ReadLn(A); Write('B = ');ReadLn(B); Write('C = ');ReadLn(C); Write('k = ');ReadLn(k); if k=1 then Begin if a < b then a:=b; Write('p = ',a) End else if k=2 then Begin if a < b then a:=b; if a < c then a:=c; Write('p = ',a); End; End.
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota
Оформи подписку