Программа: заменить союз end в тексте на союз or в паскале

enotny enotny    1   16.07.2019 22:20    2

Ответы
ВладИК08123 ВладИК08123  19.08.2020 12:03
// PascalABC.NET 3.0, сборка 1156 от 30.01.2016
begin
  var s:=ReadlnString('Вводите:');
  s:=s.Replace('AND','OR');
  s:=s.Replace('And','Or');
  s:=s.Replace('and','or');
  Writeln;
  Writeln(s)
end.

Тестовое решение:
Вводите: And for the Birds? Mowgli let out a kite’s whistle. And now for the Snake People. The answer was a perfect hiss. Mowgli clapped his hands happily and jumped on Bagheera’s back.

Or for the Birds? Mowgli let out a kite’s whistle. Or now for the Snake People. The answer was a perfect hiss. Mowgli clapped his hors happily or jumped on Bagheera’s back.
ПОКАЗАТЬ ОТВЕТЫ
Другие вопросы по теме Информатика