Advertisement
Kita-Hot

Untitled

Sep 27th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.30 KB | None | 0 0
  1. var
  2.   s1,s2,s3,s4,s5,s6,s7 : string;
  3.   c1,c2,c3,c4,c5,c6,c7 : char;
  4.   d1,d2,d3,d4,d5,d6,d7 : longint;
  5. begin
  6.   readln(s1);
  7.   readln(s2);
  8.   readln(s3);
  9.   readln(d1);
  10.   readln(d2);
  11.   readln(d3);
  12.   writeln('s1[',d1']=',s1[4]);
  13.   writeln('s2[',d2,']=',s2[2]);
  14.   writeln('s3[',d3,']=',s3[3]);
  15. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement