Question: Program # 6 Concepts in Computer Science COP 2 5 0 0 Objectives 1 . Students will be able to demonstrate how to use a

Program #6
Concepts in Computer Science COP 2500
Objectives
1. Students will be able to demonstrate how to use a for loop.
2. Students will develop a program using a nested loop
Introduction: GameStore @ UCF
Knightro is opening a new game store in our area! Ultimate Computing Fun (UCF) Games is
looking for a home for their wide variety of computer games. UCF Games needs your help with
their growing business!
Problem: Tournament (tournament.py)
To celebrate your stores current success, UCF Games has decided to host a speed-running
tournament. You plan to invite people of all ages and skill level, so you will need to use divisions
in your tournament to help separate the players and promote fairness. Since this is a speed-
running tournament, you want to keep track of the lowest time and the average number of
seconds it takes each division to complete its run.
Program Specification
In this program, you will need to ask the user how many divisions they are creating for the
tournament. Within each division, ask how many players and for each player, you will prompt
the user for how many seconds.
Your program must use nested for loops with reasonable ranges for this input process.
Input Specification
NOTE: Input specifications guarantee that whoever uses your program, including the graders,
will adhere to these specifications. This means that you do not need to check for them.
Your program shall accept the following inputs.
Data Data Type Limit
Number of Divisions Integer 125 inclusive
Number of Players Integer 1150 inclusive
Game Time in Seconds Integer 15,000 inclusive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!