SHARE
TWEET

Latihan 15 Free Pascal Console

stevennathaniel Jan 3rd, 2014 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program Latihan15;
  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.  
  13.  
  14. var
  15.  
  16.   Nama: string;
  17. begin
  18.  
  19.   write('Silahkan tuliskan nama anda:  ');
  20.  
  21.   readln(Nama);
  22.  
  23.   writeln('Halo ', Nama);
  24.  
  25.   writeln('Silahkan menekan tombol ENTER untuk menutup');
  26.  
  27.   readln;
  28.  
  29.  
  30. end.
RAW Paste Data
Top