Advertisement
GamerSK

Untitled

Jan 22nd, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.23 KB | None | 0 0
  1. n:=strtoint(inputbox('','Zadajte cislo: ','1'));
  2. randomize;
  3. for i:=1 to n do
  4.     begin
  5.         Image1.Canvas.Pen.Color:=random(16000000);
  6.         Image1.Canvas.MoveTo(0,0);
  7.         Image1.Canvas.LineTo(random(Image1.Width),random(Image1.Height));
  8.     end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement