Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is java assignment, I really no have clue please help me on this assignment , I gave you everything you need to make this

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. 


image

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(" Game: " + (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 ==== ===

Step by Step Solution

3.29 Rating (146 Votes )

There are 3 Steps involved in it

Step: 1

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals of Case Management Practice Skills for the Human Services

Authors: Nancy Summers

5th edition

1305094765, 130509476X, 9781305544833 , 978-1305094765

More Books

Students also viewed these Programming questions