Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.57 KB | None | 0 0
  1. {**************************************************************************************************************}
  2. {Calculo del puntaje total de cada jugador. Juan Manuel Castro Pippo}
  3. procedure CalcularPuntajeTotalJugador (Var vPuntajeJugador:tPuntajeJugador; Var vPuntajeTotalJugadores:tPuntajeTotalJugadores; FechaActual:byte);
  4. var
  5.     i,j: integer;
  6.    
  7. begin
  8. for i:=1 to JUGADORES do
  9.     begin  
  10.     j:=1;
  11.     vPuntajeTotalJugadores[i].ID:=i;
  12.     vPuntajeTotalJugadores[i].puntajetotal:=0;
  13.     while (j<=FechaActual) do
  14.         inc(vPuntajeTotalJugadores[i].puntajetotal, vPuntajeJugador[i,j]);
  15.     end;
  16. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement