Create a Just Basic playoff tournament program using array
Create a Just Basic playoff tournament program using array
use JUSTBASIC SOFTWARE
1. Create a Just Basic playoff tournament program using array and the following:
a. There are 8 players qualified for the playoff in the tournament. The quarter final consists of 4 games: P1 vs P8 (game 1), P2 vs P7 (game 2), P3 vs P6 (game 3), P4 vs P5 (game 4).
b. Playoff Semi-Final: game 5: the winner of game 1 plays the winner of game 4, and game 6: the winner of game 2 plays the winner of game 3.
c. Final: Game 7: The winner of game 5 plays the winner of game 6.
d. The champion is the winner of game 7.
Hint: If you add scores to the games the program should determine the winner and the champion.