Guest User

Untitled

a guest
May 22nd, 2012
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var cislo,cifra,opacne:integer;
  2. begin
  3. cislo:= strtoint (edit1.Text);
  4. opacne:= 0;
  5. while cislo>0 do
  6. begin
  7.   cifra:= cislo mod 10;
  8.   opacne:= opacne*10 + cifra;
  9.   cislo:= cislo div 10;
  10. end;
  11. label1.Caption:= inttostr(opacne);
  12. end;
  13.  
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment