Please. help me determine how many small and big letters "s" and the sign "=" occurs in a given text. Print lines in which these characters are missing.
How do I implement validation text and how to recognize the line where there is no such marks
Help with the program. I would be very grateful!
my programm for now. what to do next,
program four;
var
i : integer;
MyString : string;
MyChar : char;
begin
read( MyString );
for i := 1 to MyString.Length do
begin
case ( MyString[i] ) of
'S' : writeln( i );
's' : writeln( i );
'=' : writeln( i );
end;
end;
end.