The line of symbols is given. To determine length of a line. If length of a line & lt; =20 to find serial number of a symbol in a line. Pascal is necessary!!!!!!!!!!!!!!!! 1

331
Var S: string; C: char; i: integer; Begin Write (Enter a line:); ReadLn(S); Write (Enter a symbol:); ReadLn(C); For i: = 1 to S. Length do if S[i] = C then Write (i) End. Example: Enter a line: The line of symbols is given. To determine length of a line. If length of a line & lt; = 20 to find in a line serial number of a symbol * Enter a symbol: and 2 4 11 57 76 113
13
Answer add
Stanka

Other questions in the section - informatics
Kirik
3 different lines of symbols are given. To define the longest line and to
2020-10-26 10:00:32
Kemapisva
3. N natural numbers of a1, a2 are set, …, aN (), each of
2020-10-26 10:00:32
Burizel
Make the Pascal language program for the solution of the following task. Enter 3
2020-10-26 10:00:32
Evsevievich
To display all words from To letters in which the letter Yvstrechayetsya more than
2020-10-26 10:00:32
Gavilar
Read the poem by A. Starikov and determine the age of the girl. STRANGE
2020-10-26 10:00:32