Incoincident symbol.
Two lines of the any text are entered. To
find a position of the first incoincident symbol.
To provide and cases when incoincident
symbols are not present. Used переменные:n - the counter for conterminous elements of a line;
i - the counter for elements of a line; s1, s2 -
lines entered by the user.
Entrance data
Two lines of the text
Target data
Number of the first incoincident
symbol
Entrance data
Interesting film
Interesting cinema
Target data
Number of the first incoincident
symbol = 9
The author: Chupchicova
Yulia