stevennathaniel

Latihan 28 Free Pascal Console

Jan 16th, 2014
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.40 KB | None | 0 0
  1. program Latihan28;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. uses
  6.   {$IFDEF UNIX}{$IFDEF UseCThreads}
  7.   cthreads,
  8.   {$ENDIF}{$ENDIF}
  9.   Classes
  10.   { you can add units after this };
  11.  
  12. var
  13.  
  14.   Line: string;
  15.  
  16.  
  17.  
  18.  
  19. begin
  20.  
  21.    write('Silahkan memasukan kata yg mau di hapus: ');
  22.    readln(Line);
  23.  
  24.    delete(Line, 3, 3);
  25.  
  26.    writeln(Line);
  27.  
  28.    writeln('Tekan tombol ENTER untuk menutup');
  29.  
  30.    readln;
  31.  
  32.  
  33. end.
Add Comment
Please, Sign In to add comment