var a,l: string; b: array of string; i: integer;
begin
write('Введите строчку: ');
readln(a);
b := a.ToWords;
for i:=0 to length(b)-1 do begin
l:=b[i];
if pos('ар',b[i])<>0 then writeln(b[i])
end;
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var a,l: string; b: array of string; i: integer;
begin
write('Введите строчку: ');
readln(a);
b := a.ToWords;
for i:=0 to length(b)-1 do begin
l:=b[i];
if pos('ар',b[i])<>0 then writeln(b[i])
end;
end.