Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Program Test_4;
- uses
- System.SysUtils;
- Var Length, I: Integer;
- A : Array of Integer;
- File1:TextFile;
- Begin
- Readln(Length);
- AssignFile(File1, 'input.txt');
- Reset(File1);
- for I := 0 to (Length-1) do
- begin
- Readln(File1, A[I]);
- writeln(A[I]);
- end;
- CloseFile(File1);
- Readln;
- End.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement