This is java assignment, I really no have clue please help me on this assignment , I
Question:
This is java assignment, I really no have clue please help me on this assignment , I gave you everything you need to make this program please the output look exactly the same as display in right side both images and I gave you starter code and also introduction and requirement please, I really don't want to copy and paste from another source and get caught so please can someone HELP ME TO BUILD UNIQUE PROGRAM FOR THIS, that I don't get caught and consider as cheat please help me on this program to get output as same as this and make it unique program to look original not copied from source please you can zoom in and it will be appreciated a lot for your time and hard-work.
opbox/user/folder_submit_me MISLUCTIONS Basketball Scorekeeper - Arrays Introduction: You are tasked with writing a simple program will store and perform simple operations on a team's basketball scores over an 82 game season. For this assignment, you are given starter code that randomly generates the scores and stores them in a two dimensional array. Requirements: Create a menu that will allow the user to specify if they want to view: • Team's average points scored per game for the season Team's average points scored in each quarter (so, user should be able to specify 1st, 2nd, 3rd, or 4th quarter) • Team's scores on for a given match (should be able to specify game 1 through 82) • Extra credit (5 points each) . Show the most points scored in a single game all season . Show the most points scored in a single quarter all season After the program performs the operation, the menu should be redisplayed. The menu should also have a way to exit the program. What to submit: . A zip file of your entire java project . A screenshot of the working application . You can just choose a couple of parts - you don't need to get every functionality in your screenshots Starter code: import java.util.Random; Submit Cancel acken Sample Output: Game: 1 Q1: 20 Q2: 28 Q3: 29 Q4: 27 Game: 2 Q1: 35 Q2: 33 Q3: 31 Q4: 21 Game: 3 Q1: 39 Q2: 34 Q3: 37 Q4: 37 Game: 4 Q1: 33 Q2: 22 Q3: 35 Q4: 24 Game: 5 Q1: 24 Q2: 35 Q3: 21 Q4: 20 Game: 6 Q1: 23 Q2: 28 Q3: 24 Q4: 27 Game: 7 Q1: 32 Q2: 20 Q3: 23 Q4: 22 Game: 8 Q1: 32 Q2: 23 Q3: 25 Q4: 25 Game: 9 Q1: 37 Q2: 27 Q3: 22 Q4: 22 Game: 10 Q1: 25 Q2: 33 Q3: 38 Q4: 35 Game: 11 Q1: 20 Q2: 35 Q3: 35 Q4: 30 Game: 12 Q1: 38 Q2: 31 Q3: 34 Q4: 36 Game: 13 Q1: 32 Q2: 22 Q3: 39 Q4: 37 Game: 14 Q1: 36 Q2: 26 Q3: 27 Q4: 36 Game: 15 Q1: 28 Q2: 37 Q3: 23 Q4: 27 Game: 16 Q4:38 Starter code: import java.util.Random; import java.util.Scanner; public class BasketballSeasonTracker { static Scanner keyboard = new Scanner(System.in); public static void main(String[] args) { // This 2 dimensional array holds scores for 82 games by quarter int[][] teamScores = new int[82][4]; Random random = new Random(); // Seeding random for testing purposes random.setSeed(0); // for pseudorandom values, seed with current time // random.setSeed (System.currentTimeMillis()); // Initialize the array to random scores for (int game = 0; game < teamScores.length; game++) { } } for (int qtr = 0; qtr < teamScores [game].length; qtr++) { // We will assign a random number between 20 and 40 for each quarter) teamScores [game] [qtr] = random.nextInt(20, 40); Game: 82 Q1: 26 Q2: 24 Q3: 31 Q4: 35 ============ Basketball Season Stats Tracker ======== 1: View average team score for whole season. 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 1 The average points scored for each game was: 119.35 ============ Basketball Season Stats Tracker 1: View average team score for whole season. 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 2 Please enter quarter # to view (1-4): 0 Invalid quarter number. // View the scores for all games/quarters for (int game = 0; game < teamScores.length; game++) { System.out.println("\nGame: " + (game+1)); for (int qtr = 0; qtr < teamScores [game].length; qtr++) { } } System.out.print("Q" + (qtr+1) + ": " + teamScores [game] [qtr] + "\t"); ============ Basketball Season Stats Tracker 1: View average team score for whole season. ======== 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 2 PhotoGrid Sample Output: to view (1-4); Submit Cancel ==== === opbox/user/folder_submit_me MISLUCTIONS Basketball Scorekeeper - Arrays Introduction: You are tasked with writing a simple program will store and perform simple operations on a team's basketball scores over an 82 game season. For this assignment, you are given starter code that randomly generates the scores and stores them in a two dimensional array. Requirements: Create a menu that will allow the user to specify if they want to view: • Team's average points scored per game for the season Team's average points scored in each quarter (so, user should be able to specify 1st, 2nd, 3rd, or 4th quarter) • Team's scores on for a given match (should be able to specify game 1 through 82) • Extra credit (5 points each) . Show the most points scored in a single game all season . Show the most points scored in a single quarter all season After the program performs the operation, the menu should be redisplayed. The menu should also have a way to exit the program. What to submit: . A zip file of your entire java project . A screenshot of the working application . You can just choose a couple of parts - you don't need to get every functionality in your screenshots Starter code: import java.util.Random; Submit Cancel acken Sample Output: Game: 1 Q1: 20 Q2: 28 Q3: 29 Q4: 27 Game: 2 Q1: 35 Q2: 33 Q3: 31 Q4: 21 Game: 3 Q1: 39 Q2: 34 Q3: 37 Q4: 37 Game: 4 Q1: 33 Q2: 22 Q3: 35 Q4: 24 Game: 5 Q1: 24 Q2: 35 Q3: 21 Q4: 20 Game: 6 Q1: 23 Q2: 28 Q3: 24 Q4: 27 Game: 7 Q1: 32 Q2: 20 Q3: 23 Q4: 22 Game: 8 Q1: 32 Q2: 23 Q3: 25 Q4: 25 Game: 9 Q1: 37 Q2: 27 Q3: 22 Q4: 22 Game: 10 Q1: 25 Q2: 33 Q3: 38 Q4: 35 Game: 11 Q1: 20 Q2: 35 Q3: 35 Q4: 30 Game: 12 Q1: 38 Q2: 31 Q3: 34 Q4: 36 Game: 13 Q1: 32 Q2: 22 Q3: 39 Q4: 37 Game: 14 Q1: 36 Q2: 26 Q3: 27 Q4: 36 Game: 15 Q1: 28 Q2: 37 Q3: 23 Q4: 27 Game: 16 Q4:38 Starter code: import java.util.Random; import java.util.Scanner; public class BasketballSeasonTracker { static Scanner keyboard = new Scanner(System.in); public static void main(String[] args) { // This 2 dimensional array holds scores for 82 games by quarter int[][] teamScores = new int[82][4]; Random random = new Random(); // Seeding random for testing purposes random.setSeed(0); // for pseudorandom values, seed with current time // random.setSeed (System.currentTimeMillis()); // Initialize the array to random scores for (int game = 0; game < teamScores.length; game++) { } } for (int qtr = 0; qtr < teamScores [game].length; qtr++) { // We will assign a random number between 20 and 40 for each quarter) teamScores [game] [qtr] = random.nextInt(20, 40); Game: 82 Q1: 26 Q2: 24 Q3: 31 Q4: 35 ============ Basketball Season Stats Tracker ======== 1: View average team score for whole season. 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 1 The average points scored for each game was: 119.35 ============ Basketball Season Stats Tracker 1: View average team score for whole season. 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 2 Please enter quarter # to view (1-4): 0 Invalid quarter number. // View the scores for all games/quarters for (int game = 0; game < teamScores.length; game++) { System.out.println("\nGame: " + (game+1)); for (int qtr = 0; qtr < teamScores [game].length; qtr++) { } } System.out.print("Q" + (qtr+1) + ": " + teamScores [game] [qtr] + "\t"); ============ Basketball Season Stats Tracker 1: View average team score for whole season. ======== 2: View average team score for the season in a specific quarter. 3: View information for specific match. 4: Exit program. Enter choice (1-4): 2 PhotoGrid Sample Output: to view (1-4); Submit Cancel ==== ===
Expert Answer:
1 Data Structures Create a 2D array named teamScores to store the points scored by the team in each quarter rows represent games columns represent qua... View the full answer
Fundamentals of Case Management Practice Skills for the Human Services
ISBN: 978-1305094765
5th edition
Authors: Nancy Summers
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
A decision maker is working on a problem that requires her to study the uncertainty surrounding the payoff of an investment. There are three possible levels of payoff $1,000, $5,000, and $10,000. As...
-
Gianni & Sons buys T-shirts in bulk, applies its own trendsetting silk-screen designs, and then sells the T-shirts to a number of retailers. Gianni wants to be known for its trendsetting designs, and...
-
Find the gradient fields of the function. g(x, y, z) = xy + yz + xz
-
Based on the following pedigree for a trait determined by a single gene (affected individuals are shown as filled symbols), state whether it would be possible for the trait to be inherited in each of...
-
Your audit firm has recently been engaged as the new auditor for Pinnacle Manufacturing effective for the audit of the financial statements for the year ended December 31, 2013. Pinnacle is a...
-
A 47-kg pole vaulter running at 10 m/s vaults over the bar. Her speed when she is above the bar is 1.5 m/s. Neglect air resistance, as well as any energy absorbed by the pole, and determine her...
-
On June 1, Cindy Godfrey started Divine Designs Co., a company that provides craft opportunities, by investing $12,000 cash in the business. Following are the assets and liabilities of the company at...
-
4. If I were you, I would buy a new a rechargeable radio for me to become updated on any news around me. What mood does the above sentence belong to? a. imperative b. indicative c. subjunctive d....
-
Firm S has COGS equal to $500,000 for year ended 12/31/04. Gross Profit for the year also was $ 500,000, and the Profit Margin for the year was 15%. The Retention Rate for the year was 80%, and Year...
-
When nitrogen gas (molecular formula N 2 , consistingof two nitrogen atoms N) and hydrogen gas (molecular formulaH 2 , consisting of two hydrogen atoms H) are combined inthe right proportions and...
-
Note on Conflict Management (Young) How will we try to convince the president of a healthcare organization of which we are employed that there are strong rationale and numerous best practices to draw...
-
A bond paying annual coupon of 5% has a duration is 3 years and 5 months. The bond yield is 3%. Due to turbulence in bond markets the yield increases by 0.1%. By how much does the bond price change?...
-
Briefly explain the privacy provincial legislation in Alberta. Briefly highlight the powers and duties of OIPC.
-
After a number of incidents, American Airlines decided to increase its security. American Airlines wanted to know if the new security measures affected travelling, so after the measures had been in...
-
Express mass density in kg/m3 and weight density in lb/ft3. 1. Find the mass density of a chunk of rock of mass 215 g that displaces a volume of 75.0 cm3 of water. 2. A block of wood is 55.9 in. x...
-
Reynaldo just lost his job and is frantic about how he will pay the rent. He talks to the worker about how he will pay his rent and whether he will be eligible for unemployment. In the course of the...
-
A woman you have placed in temporary housing is angered by the loud music of her neighbors. She appeals to you to do something about it. Who owns the problem? In the above situations, identify who...
-
Ada is very upset over the divorce settlement. She got the house and the children, but very meager support and only a small amount to go to school to upgrade her skills. As she speaks with the...
-
You are the CEO of XO, a bulk chemical producer and processor. XO is generating quite a lot of free cash flow that cannot be profitably invested domestically. You are looking to expand XOs operations...
-
Connect each term to its definition or description. a. Acquisition of assets b. Acquisition of stock c. Acquisition premium d. Consolidation e. Merger f. Method of payment g. Synergy A. Creation of...
-
You are the chairman of Tres Equis, a family-run beverage manufacturer based in Guadalupe, Mexico. For years, you have harbored ambitions of expanding operations into other Latin American countries...
Study smarter with the SolutionInn App