SHARE
TWEET

Настя, упр.3, звездочки

a guest Aug 22nd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program ex3;
  2. var
  3.   n,i: integer;
  4.   l,o: string;
  5. begin
  6.   l:='*';
  7.   o:='*';
  8.   writeln('vvedite kol-vo *');
  9.   readln(n);
  10.   for i:=1 to n do
  11.     begin
  12.       writeln (l);
  13.       l:=l+o; {or l:=l+'*'}
  14.     end;
  15.   readln
  16.  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