Advertisement
rayhanf

break

Mar 10th, 2023
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.14 KB | Source Code | 0 0
  1. begin
  2.     for i:=10 downto 1 do
  3.     begin
  4.         if i=5 then break { kondisi dimana looping dihentikan }
  5.         else writeln('Bootcamp ke-', i);
  6.     end;
  7. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement