Guest User

Untitled

a guest
Apr 20th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.16 KB | None | 0 0
  1. k: integer;
  2. ...
  3. k=0;
  4. ...
  5. if Stringgrid1.Cells[3,int]=edit1.text
  6. then
  7. begin
  8. k=k+1;
  9. s:=s+strtofloat( Stringgrid1.Cells[2,int]);
  10. end;
  11. if(int=4)
  12. then s:=s/k;
Add Comment
Please, Sign In to add comment