Advertisement
rayhanf

repeat-until

Mar 9th, 2023 (edited)
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.17 KB | Source Code | 0 0
  1. var i: shortint;
  2. begin
  3.     i := 0;
  4.     repeat
  5.         writeln('Halo dunia');
  6.         i := i+1; // Baris pembuat kondisi TRUE
  7.     until (i=10); // Baris pengecekan kondisi TRUE or FALSE
  8. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement