Нужно описать,каждую строчку этой программы
Program P1;
type Mytype=set of char;
var
m,n,g:Mytype; w,s: string; i,k:integer;
begin
m:=['A'..'F']; n:=['X'..'Z']; g:=m+n;
writeln('введите строку');
readln(s);
writeln('новая строка');
for i:=1 to length(s) do
if (s[i] in g) then write(s[i]);
writeln;
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.