3 different lines of symbols are given. To define the longest line and to give its length on the screen. Pascal.

206
Program n1; var s, s1, s2: string; function max (a, b, c: integer): integer; begin max: = 0; if (a> b) and (a> c) then max: = else if (b> c) and (b> a) then max: = b else if (c> a) and (c> b) then max: = c; end; begin readln (s); readln (s1); readln (s2); write (max (length(s), length (s1), length (s2))); end.
233
Answer add
Sterre

Other questions in the section - informatics
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
Tarasov
Pascal. 2 natural numbers are entered. To remove their NOC. Please count please!
2020-10-26 10:00:32