Guest User

Untitled

a guest
Feb 19th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.28 KB | None | 0 0
  1. a := StrToFloat(Edit1.Text);
  2. b := StrToFloat(Edit2.Text);
  3. c := StrToFloat(Edit3.Text);
  4. max := a;
  5. if max < b
  6. then max := b;
  7. if max < c
  8. then max :=c ;
  9. if (a=b) and (b=c)
  10. then Label1.Caption := 'Rovnake hodnoty'
  11. else Label1.Caption :='Maximalna hodnota je: ' + FloatToStr(max);
Add Comment
Please, Sign In to add comment