Guest User

Untitled

a guest
May 22nd, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var a,b,c: integer;
  2. begin
  3. a:= strtoint (edit1.Text);
  4. b:= strtoint (edit2.Text);
  5. c:= strtoint (edit3.Text);
  6. if (a>b) and (a>c) then memo1.Lines.add(inttostr(a) + ' the biggest');
  7. if (b>c) and (b>a) then memo1.Lines.add(inttostr(b) + ' the biggest');
  8. if (c>a) and (c>b) then memo1.Lines.add(inttostr(c) + ' the biggest');
  9. if (a=b) and (a=c) then memo1.Lines.add(inttostr(a) + ' vsetky su rovnake');
  10. end;
  11.  
  12. end.
Advertisement
Add Comment
Please, Sign In to add comment