stevennathaniel

Latihan 6 Console Free Pascal

Jan 1st, 2014
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.43 KB | None | 0 0
  1. program Latihan6;
  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. var
  14.  
  15.   i: integer;
  16.   Count: integer;
  17. begin
  18.  
  19.   write('Berapa kali ? ');
  20.   readln(Count);
  21.  
  22.   for i:=1 to Count do
  23.   writeln('Halo yang disana');
  24.  
  25.   // writeln('Halo yang disana');
  26.  
  27.  
  28.    write('Tekanlah tombol ENTER untuk menutup');
  29.  
  30.    readln;
  31.  
  32.  
  33. end.
Add Comment
Please, Sign In to add comment