soldza

Untitled

May 22nd, 2012
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var a,b,i,vysledok:integer;
  2. begin
  3. a:= strtoint (edit1.Text);
  4. b:= strtoint (edit2.Text);
  5. vysledok:= 0;
  6. for i:= 1 to b do
  7.  
  8. vysledok:= vysledok + a;
  9. label1.Caption:= 'sucin cisel ' + inttostr(a) + ' a '+ inttostr (b) + ' je ' + inttostr (vysledok);
  10.  
  11. end;
  12.  
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment