fork download
  1. program segitigasiku2terbalik;
  2. var
  3. a,b,c,d : integer;
  4. begin
  5. read(a);
  6. c:=a;
  7. for b:=1 to a do
  8. begin
  9. for d:=1 to c do
  10. begin
  11. write('*');
  12. end;
  13. writeln;
  14. dec(c);
  15. end;
  16. end.
Success #stdin #stdout 0s 340KB
stdin
7
stdout
*******
******
*****
****
***
**
*