Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. while cant(temp)<cant(poliza)
  2. {
  3. basta=false
  4. sumgrande=0
  5. while not eof (poliza) and not basta
  6. {
  7. read x
  8. while not eof (temp) and not basta
  9. {
  10. read y
  11. if x==y {basta=true}
  12. }
  13. reset(temp)
  14. }
  15. if not (basta)
  16. {
  17. aseguradoactual=x.nombre
  18. while not eof (poliza)
  19. {
  20. if aseguradoactual=x.nombre
  21. {
  22. write (x.NroPol, Temp)
  23. while not eof (siniestros) and
  24. {
  25. read z
  26. if x.NroPol=z.NroPol
  27. {
  28. Sum=sum+z.valor
  29. }
  30. }
  31. }
  32. read x
  33. if sum > sumgrande
  34. {
  35. sumgrande = sum
  36. }
  37. }
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement