Pickleball Tournament
(60 points) Two SHSU Pickleball teams, one is a faculty team and the other one is a student team, organized their very first tournament. Each player played against an opponent from another school. Write a program that prompts the user to enter pickleball tournament game results. The scores should be saved in two different arrays, named Faculty[] and Student[].
The program should display:
a. the percentage of games won by Faculty,
b. the highest total score (Faculty and Student combined) of all the games and the corresponding game number,
c. the largest deficit of Student and corresponding game number.
Output:
In Game Round 1, winning Percentage of Faculty is: 25%
In Game Round 1, the highest scored game was 20 points in the first game.
In Game Round 1, the largest deficit of Students was 6 points in the 2nd game.
(40 points) Based on the tournament scores, store the winners of that round into another array (Based on the above example those players will be Faculty[0], Student[1], Student[2], and Student[3]). Once an array is set up, randomly draw semi-final matches. Once matches are drawn, randomly pick the winner of the semi-final games (assign the Faculty winner player a score of 11) and then randomly assign a value between 0 and 4 to the Student.
Now your extended program should display:
d. the number of Student players made it to finals,
e. the percentage of games won by Student (this should include results from Round 1).
Output:
Only 1 player from Student made it Finals
Overall, winning Percentage of Student is: 67%
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|