SHARE
TWEET

triangle

a guest Feb 27th, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. program HelloWorld;
  3. var i,j,n: integer;
  4.  
  5. begin
  6.     n := 10;
  7.     for i:=0 to n do
  8.         begin
  9.             for j:=0 to n do
  10.                 begin
  11.                 if (i+j) >= (n) then
  12.                     begin
  13.                         write('* ');
  14.                     end
  15.                 else
  16.                     begin
  17.                         write('  ');
  18.                     end
  19.                 end;
  20.                 writeln();
  21.         end;
  22. end.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top