HOW CAN I MAKE A SCORING PROGRAM WHERE IN WHEN A GAME IS PLAYED THERE IS A PART WHERE THE TOP 3 PLAYERS WILL BE DISPLAYED, FOR EXAMPLE WHEN A PROGRAM IS RUNNING 3 PLAYERS WILL PLAY ONE AFTER ANOTHER, SO THE SCORES WILL BE STORED IN AN ARRAY OR VARIABLES. THE SCORE OF THE FIRST PLAYER WILL BE STORED IN THE FIRST VARIABLE INDICATING THAT HE'S TOP ONE. BUT AFTER THE SECOND PLAYER PLAYS THE PROGRAM WILL COMPARE THERE SCORES, AND IF PLAYER TWO'S SCORE IS GREATER THAN PLAYER ONE'S SCORE HE'LL BE THE TOP ONE AND PLAYER 1 WILL BE TOP 2 AND THE SAME WILL HAPPEN IN THE NEXT PLAYER BUT THE PROGRAM WILL COMPARE THE SCORES OF THE THREE.
EX.
IF THE RATING/ GRADING WILL BE 0-3, WHILE 0 IS THE LOWEST AND 3 THE HIGHEST.
IF PLAYER ONE GETS 1 POINT
____________________________________________
TOP SCORER
1.)PLAYER ONE
2.)
3.)
_________________________________________________
THEN PLAYER TWO PLAYS
PLAYER TWO GETS 2 POINTS
2>1 SO IT MEANS PLAYER TWO WILL BE THE NUMBER 1
______________________________________________
TOP SCORER
1.)PLAYER TWO
2.)PLAYER ONE
3.)
_______________________________
THEN PLAYER THREE PLAYS
PLAYER THREE GETS 3 POINTS
3>1 3> 2 SO IT MEANS PLAYER THREE WILL BE THE NUMBER 1
______________________________________________
TOP SCORER
1.)PLAYER THREE
2.)PLAYER TWO
3.)PLAYER ONE